Christoph Hellwig aebf526b53 block: fold cmd_type into the REQ_OP_ space
Instead of keeping two levels of indirection for requests types, fold it
all into the operations.  The little caveat here is that previously
cmd_type only applied to struct request, while the request and bio op
fields were set to plain REQ_OP_READ/WRITE even for passthrough
operations.

Instead this patch adds new REQ_OP_* for SCSI passthrough and driver
private requests, althought it has to add two for each so that we
can communicate the data in/out nature of the request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-01-31 14:00:44 -07:00
..
2014-07-08 17:14:27 -04:00
2016-10-07 18:46:30 -07:00
2016-08-04 19:59:06 -04:00
2016-03-18 11:42:53 -04:00
2014-08-17 12:00:12 -04:00
2016-11-14 11:13:43 -05:00
2016-01-22 18:04:28 -05:00
2016-07-13 15:53:41 -04:00
2016-09-26 15:20:36 -04:00
2016-05-29 19:08:00 -04:00
2016-01-14 17:32:51 -05:00
2016-10-07 14:54:25 -04:00
2016-10-07 14:54:25 -04:00