linux/fs/xfs/linux-2.6
David Chinner effd120edb [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 <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
2007-07-14 15:32:49 +10:00
..
kmem.c
kmem.h [XFS] Use generic shrinker interfaces in XFS. 2007-07-14 15:23:53 +10:00
mrlock.h
mutex.h
sema.h
spin.h
sv.h
time.h
xfs_aops.c [XFS] Map unwritten extents correctly for I/o completion processing 2007-07-14 15:32:49 +10:00
xfs_aops.h
xfs_buf.c [XFS] Flush the block device before closing it on unmount. 2007-07-14 15:30:05 +10:00
xfs_buf.h [XFS] Only use refcounted pages for I/O 2007-07-14 15:21:14 +10:00
xfs_cred.h
xfs_dmapi_priv.h
xfs_export.c
xfs_export.h
xfs_file.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_fs_subr.c
xfs_fs_subr.h
xfs_globals.c
xfs_globals.h
xfs_ioctl.c
xfs_ioctl32.c
xfs_ioctl32.h
xfs_iops.c
xfs_iops.h
xfs_linux.h sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_lrw.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_lrw.h sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
xfs_stats.c
xfs_stats.h
xfs_super.c [XFS] Lazy Superblock Counters 2007-07-14 15:28:50 +10:00
xfs_super.h
xfs_sysctl.c
xfs_sysctl.h
xfs_version.h
xfs_vfs.c
xfs_vfs.h [XFS] Lazy Superblock Counters 2007-07-14 15:28:50 +10:00
xfs_vnode.c
xfs_vnode.h sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00