diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 16:58:12 -0500 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-12 17:41:44 -0500 |
commit | 34625c661b01dab193c7e8a0151a63553e97cfdf (patch) | |
tree | 75bbf616053e35ab63847a717068f8fae51f8d12 /fs/xfs/xfs_super.c | |
parent | f2fba558d3c80dcd10bbadbb8f05c78dc2860b95 (diff) |
xfs: remove xfs_qm_sync
Now that we can't have any dirty dquots around that aren't in the AIL we
can get rid of the explicit dquot syncing from xfssyncd and xfs_fs_sync_fs
and instead rely on AIL pushing to write out any quota updates.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 0e76348d958a..88cd0c893163 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c | |||
@@ -1025,17 +1025,10 @@ xfs_fs_sync_fs( | |||
1025 | int error; | 1025 | int error; |
1026 | 1026 | ||
1027 | /* | 1027 | /* |
1028 | * Not much we can do for the first async pass. Writing out the | 1028 | * Doing anything during the async pass would be counterproductive. |
1029 | * superblock would be counter-productive as we are going to redirty | ||
1030 | * when writing out other data and metadata (and writing out a single | ||
1031 | * block is quite fast anyway). | ||
1032 | * | ||
1033 | * Try to asynchronously kick off quota syncing at least. | ||
1034 | */ | 1029 | */ |
1035 | if (!wait) { | 1030 | if (!wait) |
1036 | xfs_qm_sync(mp, SYNC_TRYLOCK); | ||
1037 | return 0; | 1031 | return 0; |
1038 | } | ||
1039 | 1032 | ||
1040 | error = xfs_quiesce_data(mp); | 1033 | error = xfs_quiesce_data(mp); |
1041 | if (error) | 1034 | if (error) |