diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-06 21:58:12 +0000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2011-12-12 16:41:44 -0600 |
commit | 34625c661b01dab193c7e8a0151a63553e97cfdf (patch) | |
tree | 75bbf616053e35ab63847a717068f8fae51f8d12 /fs/xfs/xfs_sync.c | |
parent | f2fba558d3c80dcd10bbadbb8f05c78dc2860b95 (diff) | |
download | op-kernel-dev-34625c661b01dab193c7e8a0151a63553e97cfdf.zip op-kernel-dev-34625c661b01dab193c7e8a0151a63553e97cfdf.tar.gz |
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_sync.c')
-rw-r--r-- | fs/xfs/xfs_sync.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/xfs/xfs_sync.c b/fs/xfs/xfs_sync.c index be5c51d..5b9ec37 100644 --- a/fs/xfs/xfs_sync.c +++ b/fs/xfs/xfs_sync.c @@ -359,10 +359,7 @@ xfs_quiesce_data( { int error, error2 = 0; - xfs_qm_sync(mp, SYNC_TRYLOCK); - xfs_qm_sync(mp, SYNC_WAIT); - - /* force out the newly dirtied log buffers */ + /* force out the log */ xfs_log_force(mp, XFS_LOG_SYNC); /* write superblock and hoover up shutdown errors */ @@ -470,7 +467,6 @@ xfs_sync_worker( error = xfs_fs_log_dummy(mp); else xfs_log_force(mp, 0); - error = xfs_qm_sync(mp, SYNC_TRYLOCK); /* start pushing all the metadata that is currently dirty */ xfs_ail_push_all(mp->m_ail); |