[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Thu Sep 27 04:43:50 MDT 2012


The branch, v3-5-test has been updated
       via  bea4512 quota: add supprt for gfs2
      from  48d90a8 WHATSNEW: Start release notes for Samba 3.5.19.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit bea45125fc10d0eef02c5cedb5585f70eebe9450
Author: Björn Jacke <bj at sernet.de>
Date:   Tue Sep 18 13:57:30 2012 +0200

    quota: add supprt for gfs2
    
    gfs2 uses the same generic quota interface as xfs and it has the same base
    block/quota block size ratio and seems to work nice with the xfs quota module.
    
    (People using gfs should be aware that quota reporting is lagging quite a bit
    on gfs.  If you copy a file on a gfs volume the quota values are being updated
    with a delay of 30s here with kernel 3.5. This reporting can lead to data
    corruption if a client thinks he can write but actually he suddently can't.)
    (cherry picked from commit 0b57d1c07520f4995412f224945324fef29f5989)
    
    Fix bug #9172 - quota on gfs2 being reported wrong.
    (cherry picked from commit 16a3b6e02d1bb8345984ab6a8c81e446d8de2f54)

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/sysquotas.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c
index 3d4697c..6682a80 100644
--- a/source3/lib/sysquotas.c
+++ b/source3/lib/sysquotas.c
@@ -176,6 +176,8 @@ static struct {
 } sys_quota_backends[] = {
 #ifdef HAVE_XFS_QUOTAS
 	{"xfs", sys_get_xfs_quota, 	sys_set_xfs_quota},
+	{"gfs", sys_get_xfs_quota, 	sys_set_xfs_quota},
+	{"gfs2", sys_get_xfs_quota, 	sys_set_xfs_quota},
 #endif /* HAVE_XFS_QUOTAS */
 	{NULL, 	NULL, 			NULL}
 };


-- 
Samba Shared Repository


More information about the samba-cvs mailing list