virtio_blk: don't bounce highmem requests
commit98d53d73e1a28f0f55de4141ef91799aba0507b6
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2009 22:49:19 +0000 (11 18:49 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Sep 2009 15:27:28 +0000 (24 08:27 -0700)
tree93767bb4923fc479ffbcf2e40f196bcc08eacdc7
parent330c9c3402b93246476e685c41da974663c152cc
virtio_blk: don't bounce highmem requests

commit 4eff3cae9c9809720c636e64bc72f212258e0bd5 upstream

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>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/virtio_blk.c