]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3c81c4685f7a0b15bf74639418b28bc793eb9ad
tree2a6a33f09a59ec8bdc7f2422b36c72eaa85af055
parentd2433e1db64574583499a340a2f1a8f0f2cf1604
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