]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a3b438aed9c881ac302a976c568b308359566f6
tree6afc956ec1cef2cd00832685225ccac6d8cec868
parentad2fcdc284be8bc7548d5025e640bc5db83d19df
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