virtio_blk: don't bounce highmem requests
authorChristoph Hellwig <hch@lst.de>
Sat, 18 Jul 2009 03:47:45 +0000 (21:47 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 17 Jul 2009 12:17:46 +0000 (21:47 +0930)
commit4eff3cae9c9809720c636e64bc72f212258e0bd5
tree2a6a33f09a59ec8bdc7f2422b36c72eaa85af055
parent7a5049205f7265620c48781814155f2763e70abb
virtio_blk: don't bounce highmem requests

By default a block driver bounces highmem requests, but virtio-blk is
perfectly fine with any request that fit into it's 64 bit addressing scheme,
mapped in the kernel virtual space or not.

Besides improving performance on highmem systems this also makes the
reproducible oops in __bounce_end_io go away (but hiding the real cause).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c