[PATCH] ufs: remove unessecary blk_flush_plug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We already flush the per-process plugging list when context switching,
so a blk_flush_plug call just before a yield() is not needed.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfs/fs/ufs/truncate.c
===================================================================
--- xfs.orig/fs/ufs/truncate.c	2011-03-30 11:35:58.095660392 +0200
+++ xfs/fs/ufs/truncate.c	2011-03-30 11:36:03.487659988 +0200
@@ -479,7 +479,6 @@ int ufs_truncate(struct inode *inode, lo
 			break;
 		if (IS_SYNC(inode) && (inode->i_state & I_DIRTY))
 			ufs_sync_inode (inode);
-		blk_flush_plug(current);
 		yield();
 	}
 
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux