From: David Chinner Date: Mon, 18 Jun 2007 06:49:58 +0000 (+1000) Subject: [XFS] Map unwritten extents correctly for I/o completion processing X-Git-Tag: v2.6.23-rc1~1056^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effd120edb7609069cca9f3d1cb4bfae464b2f85;p=pandora-kernel.git [XFS] Map unwritten extents correctly for I/o completion processing If we have multiple unwritten extents within a single page, we fail to tell the I/o completion construction handlers we need a new handle for the second and subsequent blocks in the page. While we still issue the I/O correctly, we do not have the correct ranges recorded in the ioend structures and hence when we go to convert the unwritten extents we screw it up. Make sure we start a new ioend every time the mapping changes so that we convert the correct ranges on I/O completion. SGI-PV: 964647 SGI-Modid: xfs-linux-melb:xfs-kern:28797a Signed-off-by: David Chinner Signed-off-by: Christoph Hellwig Signed-off-by: Tim Shimmin --- Reading git-diff-tree failed