]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/elevator.h
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)
commitba568ea0a2ef9a193ca24874228474ec7ae2ff98
tree6e8644ecf525f06c987760705fca60063fe90666
parentcc6e3b10920b425f0b34d4ff75c63d930aaf14ce
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