On 2011-03-30 11:57, Christoph Hellwig wrote: > 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(); > } Added for .39 merge, thanks. -- Jens Axboe -- 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