| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 02/14] xfs: make sure to really flush all dquots in xfs_qm_quotacheck |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 31 Aug 2011 16:36:49 -0400 |
| References: | <20110831203647.455809764@xxxxxxxxxxxxxxxxxxxxxx> |
| User-agent: | quilt/0.48-1 |
Make sure we do not skip any dquots when flushing them out after a
quotacheck to make sure that we will never have any dirty dquots on a life
filesystem. At this point no dquot should be pinnable, but lets be anal
about it.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Index: xfs/fs/xfs/xfs_qm.c
===================================================================
--- xfs.orig/fs/xfs/xfs_qm.c 2011-08-29 14:35:18.604856167 +0200
+++ xfs/fs/xfs/xfs_qm.c 2011-08-29 14:35:33.924855391 +0200
@@ -1660,7 +1660,7 @@ xfs_qm_quotacheck(
* successfully.
*/
if (!error)
- error = xfs_qm_dqflush_all(mp, SYNC_TRYLOCK);
+ error = xfs_qm_dqflush_all(mp, 0);
/*
* We can get this error if we couldn't do a dquot allocation inside
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 10/14] xfs: simplify xfs_qm_dqattach_grouphint, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 1/2] xfs: fix xfs_mark_inode_dirty during umount, Dave Chinner |
| Previous by Thread: | [PATCH 10/14] xfs: simplify xfs_qm_dqattach_grouphint, Christoph Hellwig |
| Next by Thread: | 2011 MICROSOFT AWARDS, MICROSOFT INTERNATIONAL LOTTERY |
| Indexes: | [Date] [Thread] [Top] [All Lists] |