• C
    quota: move code from sync_quota_sb into vfs_quota_sync · 5fb324ad
    Christoph Hellwig 提交于
    Currenly sync_quota_sb does a lot of sync and truncate action that only
    applies to "VFS" style quotas and is actively harmful for the sync
    performance in XFS.  Move it into vfs_quota_sync and add a wait parameter
    to ->quota_sync to tell if we need it or not.
    
    My audit of the GFS2 code says it's also not needed given the way GFS2
    implements quotas, but I'd be happy if this can get a detailed review.
    Signed-off-by: NChristoph Hellwig <hch@lst.de>
    Signed-off-by: NJan Kara <jack@suse.cz>
    5fb324ad
quota.c 36.6 KB