blkg_rwstat: separate op from flags
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:14 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit63a4cc24867de73626e16767ce616c50dc5438d3
tree26fc7bbcac88da1364f08b55760a82f0337328b0
parentba568ea0a2ef9a193ca24874228474ec7ae2ff98
blkg_rwstat: separate op from flags

The bio and request operation and flags are going to be separate
definitions, so we cannot pass them in as a bitmap. This patch
converts the blkg_rwstat code and its caller, cfq, to pass in the
values separately.

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/cfq-iosched.c
include/linux/blk-cgroup.h