[BLOCK] elevator switch fixes/cleanup
authorJens Axboe <axboe@suse.de>
Fri, 28 Oct 2005 06:30:39 +0000 (08:30 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 28 Oct 2005 06:48:23 +0000 (08:48 +0200)
commit64521d1a3ba7cc7fe4ab5640da83d88144f05340
tree566f61ed9bbdc1c6ad245cb186fdd8c810a58f25
parentcb98fc8bb9c141009e2bda99c0db39d387e142cf
[BLOCK] elevator switch fixes/cleanup

- 100msec sleep is a little excessive, lots of requests can complete
  in that timeframe. Use 10msec instead.
- Rename QUEUE_FLAG_BYPASS to QUEUE_FLAG_ELVSWITCH to indicate what
  is going on.

Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/block/elevator.c
drivers/block/ll_rw_blk.c
include/linux/blkdev.h