block, fs, drivers: remove REQ_OP compat defs and related code
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:22 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit4e1b2d52a80d79296a5d899d73249748dea71a53
tree6afc956ec1cef2cd00832685225ccac6d8cec868
parent6296b9604fcebc2dd8d6ec396de80b2da84d9700
block, fs, drivers: remove REQ_OP compat defs and related code

This patch drops the compat definition of req_op where it matches
the rq_flag_bits definitions, and drops the related old and compat
code that allowed users to set either the op or flags for the operation.

We also then store the operation in the bi_rw/cmd_flags field similar
to how we used to store the bio ioprio where it sat in the upper bits
of the field.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/sd.c
include/linux/bio.h
include/linux/blk_types.h
include/linux/blkdev.h
include/linux/fs.h
include/trace/events/f2fs.h