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_qm.h | |
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_qm.h')
-rw-r--r-- | fs/xfs/xfs_qm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_qm.h b/fs/xfs/xfs_qm.h index 43b9abe1052c..9b4f3adefbc5 100644 --- a/fs/xfs/xfs_qm.h +++ b/fs/xfs/xfs_qm.h | |||
@@ -33,12 +33,6 @@ extern kmem_zone_t *qm_dqzone; | |||
33 | extern kmem_zone_t *qm_dqtrxzone; | 33 | extern kmem_zone_t *qm_dqtrxzone; |
34 | 34 | ||
35 | /* | 35 | /* |
36 | * Used in xfs_qm_sync called by xfs_sync to count the max times that it can | ||
37 | * iterate over the mountpt's dquot list in one call. | ||
38 | */ | ||
39 | #define XFS_QM_SYNC_MAX_RESTARTS 7 | ||
40 | |||
41 | /* | ||
42 | * Ditto, for xfs_qm_dqreclaim_one. | 36 | * Ditto, for xfs_qm_dqreclaim_one. |
43 | */ | 37 | */ |
44 | #define XFS_QM_RECLAIM_MAX_RESTARTS 4 | 38 | #define XFS_QM_RECLAIM_MAX_RESTARTS 4 |