The patch titled write_inode_now(): avoid unnecessary synchronous write has been removed from the -mm tree. Its filename was write_inode_now-avoid-unnecessary-synchronous-write.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: write_inode_now(): avoid unnecessary synchronous write From: Mike Galbraith <efault@xxxxxx> We shouldn't use WB_SYNC_ALL if the caller is asking for asynchronous treatment. Signed-off-by: Mike Galbraith <efault@xxxxxx> Acked-by: Jan Kara <jack@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fs-writeback.c~write_inode_now-avoid-unnecessary-synchronous-write fs/fs-writeback.c --- a/fs/fs-writeback.c~write_inode_now-avoid-unnecessary-synchronous-write +++ a/fs/fs-writeback.c @@ -655,7 +655,7 @@ int write_inode_now(struct inode *inode, int ret; struct writeback_control wbc = { .nr_to_write = LONG_MAX, - .sync_mode = WB_SYNC_ALL, + .sync_mode = sync ? WB_SYNC_ALL : WB_SYNC_NONE, .range_start = 0, .range_end = LLONG_MAX, }; _ Patches currently in -mm which might be from efault@xxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html