From: Jan Kara Date: Tue, 4 Jun 2013 15:58:58 +0000 (-0400) Subject: ext4: use io_end for multiple bios X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97a851ed71cd9cc2542955e92a001c6ea3d21d35;p=pandora-kernel.git ext4: use io_end for multiple bios Change writeback path to create just one io_end structure for the extent to which we submit IO and share it among bios writing that extent. This prevents needless splitting and joining of unwritten extents when they cannot be submitted as a single bio. Bugs in ENOMEM handling found by Linux File System Verification project (linuxtesting.org) and fixed by Alexey Khoroshilov . CC: Alexey Khoroshilov Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed