[XFS] Only use refcounted pages for I/O
authorChristoph Hellwig <hch@infradead.org>
Mon, 14 May 2007 08:23:50 +0000 (18:23 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:21:14 +0000 (15:21 +1000)
commit1fa40b01ae4d1b00e366d4949edcc230f5cd6d99
tree66059d8f37bfafc6cce57509829ee253b3269252
parent4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4
[XFS] Only use refcounted pages for I/O

Many block drivers (aoe, iscsi) really want refcountable pages in bios,
which is what almost everyone send down. XFS unfortunately has a few
places where it sends down buffers that may come from kmalloc, which
breaks them.

Fix the places that use kmalloc()d buffers.

SGI-PV: 964546
SGI-Modid: xfs-linux-melb:xfs-kern:28562a

Signed-Off-By: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/xfs_log.c