Commit 36940529 authored by Stephen Lord's avatar Stephen Lord

[XFS] When flushing inodes in to free log space, make the flush async rather

than delayed write.

SGI Modid: 2.5.x-xfs:slinx:149418a
parent 49698a6b
...@@ -879,7 +879,7 @@ xfs_inode_item_push( ...@@ -879,7 +879,7 @@ xfs_inode_item_push(
* Write out the inode. The completion routine ('iflush_done') will * Write out the inode. The completion routine ('iflush_done') will
* pull it from the AIL, mark it clean, unlock the flush lock. * pull it from the AIL, mark it clean, unlock the flush lock.
*/ */
(void) xfs_iflush(ip, XFS_IFLUSH_DELWRI); (void) xfs_iflush(ip, XFS_IFLUSH_ASYNC);
xfs_iunlock(ip, XFS_ILOCK_SHARED); xfs_iunlock(ip, XFS_ILOCK_SHARED);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment