]> git.baikalelectronics.ru Git - kernel.git/commit
block: prepare elevator to use REQ_OPs.
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:13 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit0fc903eb7868a5f172ad8baaaf297ee0b7105815
tree6e8644ecf525f06c987760705fca60063fe90666
parent791f61f1eb928cad1ef80eccff87cbd4cb5b882a
block: prepare elevator to use REQ_OPs.

This patch converts the elevator code to use separate variables
for the operation and flags, and to check req_op for the REQ_OP.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/cfq-iosched.c
block/elevator.c
include/linux/elevator.h