[XFS] Don't use kmap in xfs_iozero.
authorDavid Chinner <dgc@sgi.com>
Sat, 10 Feb 2007 07:37:46 +0000 (18:37 +1100)
committerTim Shimmin <tes@sgi.com>
Sat, 10 Feb 2007 07:37:46 +0000 (18:37 +1100)
commite7ff6aed8761b2c86cd9ab7083e512de2b8cfa48
tree7a3e7e8ba879bbd72f55cbada44ebe542b179087
parent6be145bfb1ce93b2dbb854fee66fbb8d04916339
[XFS] Don't use kmap in xfs_iozero.

kmap() is inefficient and does not scale well. kmap_atomic() is a better
choice. Use the generic wrapper function instead of open coding the
kmap-memset-dcache flush-kunmap stuff.

SGI-PV: 960904
SGI-Modid: xfs-linux-melb:xfs-kern:28041a

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