[XFS] Catch unwritten extent conversion errors.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:23:52 +0000 (12:23 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:00:58 +0000 (12:00 +1000)
commitcc88466f3f67bb16fc91b0b974e51c2a43a9e597
treea3cb1c8ff110046aaca771330810697702ebb30d
parent958d4ec606d4af590f86a601a238613f21e878ee
[XFS] Catch unwritten extent conversion errors.

On unwritten I/O completion, we fail to propagate an error when converting
the extent to a written extent. This means that the I/O silently fails.
propagate the error onto the ioend so that the inode is marked with an
error appropriately.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30826a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c