]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkfront: set queue paravirt flag
authorFernando Luis Vázquez Cao <fernando@oss.ntt.co.jp>
Mon, 27 Oct 2008 09:45:54 +0000 (18:45 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 29 Dec 2008 07:28:41 +0000 (08:28 +0100)
commit943473f3c30a6a166a901a64523dbb2e293d1a58
tree70e8ba82d30b0e7d60481e8091fecbfb222b3977
parentae78a2c7eb078de9cd60a6d8ec140e97998cb3d6
xen-blkfront: set queue paravirt flag

Xen's blkfront sets noop as the default I/O scheduler at initialization
time to avoid elevator overheads such as idling, but with the advent of
basic disk profiling capabilities this is not necessary anymore. We
should just tell the block layer that we are a paravirt front-end driver
and the elevator will automatically make the necessary adjustments.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/xen-blkfront.c