]> 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)
commitb73bc968a93e95109c8fd6cc968a80f7feb860c6
tree6e8644ecf525f06c987760705fca60063fe90666
parenta582404bc933bdbbbd86508c59142370037fd6a7
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