diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 16:05:29 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-08 16:05:29 -0500 |
commit | 29ad0de279002f9b6a63df5ba85328f5b633b842 (patch) | |
tree | 8284c1a50ff2ecf9defca2a47f12947977c04df1 /fs/xfs/xfs_sync.c | |
parent | 972b2c719990f91eb3b2310d44ef8a2d38955a14 (diff) | |
parent | 40d344ec5ee440596b1f3ae87556e20c7197757a (diff) |
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
* 'for-linus' of git://oss.sgi.com/xfs/xfs: (22 commits)
xfs: mark the xfssyncd workqueue as non-reentrant
xfs: simplify xfs_qm_detach_gdquots
xfs: fix acl count validation in xfs_acl_from_disk()
xfs: remove unused XBT_FORCE_SLEEP bit
xfs: remove XFS_QMOPT_DQSUSER
xfs: kill xfs_qm_idtodq
xfs: merge xfs_qm_dqinit_core into the only caller
xfs: add a xfs_dqhold helper
xfs: simplify xfs_qm_dqattach_grouphint
xfs: nest qm_dqfrlist_lock inside the dquot qlock
xfs: flatten the dquot lock ordering
xfs: implement lazy removal for the dquot freelist
xfs: remove XFS_DQ_INACTIVE
xfs: cleanup xfs_qm_dqlookup
xfs: cleanup dquot locking helpers
xfs: remove the sync_mode argument to xfs_qm_dqflush_all
xfs: remove xfs_qm_sync
xfs: make sure to really flush all dquots in xfs_qm_quotacheck
xfs: untangle SYNC_WAIT and SYNC_TRYLOCK meanings for xfs_qm_dqflush
xfs: remove the lid_size field in struct log_item_desc
...
Fix up trivial conflict in fs/xfs/xfs_sync.c
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 f0994aedcd15..72c01a1c16e7 100644 --- a/fs/xfs/xfs_sync.c +++ b/fs/xfs/xfs_sync.c | |||
@@ -395,10 +395,7 @@ xfs_quiesce_data( | |||
395 | */ | 395 | */ |
396 | xfs_inode_ag_iterator(mp, xfs_log_dirty_inode, 0); | 396 | xfs_inode_ag_iterator(mp, xfs_log_dirty_inode, 0); |
397 | 397 | ||
398 | xfs_qm_sync(mp, SYNC_TRYLOCK); | 398 | /* force out the log */ |
399 | xfs_qm_sync(mp, SYNC_WAIT); | ||
400 | |||
401 | /* force out the newly dirtied log buffers */ | ||
402 | xfs_log_force(mp, XFS_LOG_SYNC); | 399 | xfs_log_force(mp, XFS_LOG_SYNC); |
403 | 400 | ||
404 | /* write superblock and hoover up shutdown errors */ | 401 | /* write superblock and hoover up shutdown errors */ |
@@ -506,7 +503,6 @@ xfs_sync_worker( | |||
506 | error = xfs_fs_log_dummy(mp); | 503 | error = xfs_fs_log_dummy(mp); |
507 | else | 504 | else |
508 | xfs_log_force(mp, 0); | 505 | xfs_log_force(mp, 0); |
509 | error = xfs_qm_sync(mp, SYNC_TRYLOCK); | ||
510 | 506 | ||
511 | /* start pushing all the metadata that is currently dirty */ | 507 | /* start pushing all the metadata that is currently dirty */ |
512 | xfs_ail_push_all(mp->m_ail); | 508 | xfs_ail_push_all(mp->m_ail); |