Mike Christie 00514677ed nbd: add function to convert blk req op to nbd cmd
This adds a helper function to convert a block req op to a nbd cmd type.
It will be used in the last patch to log the type in the timeout
handler.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-20 12:44:02 -06:00
..
2019-04-22 09:47:36 -06:00
2019-08-09 07:41:36 -06:00
2018-10-17 09:42:30 -06:00
2019-07-18 11:05:25 -07:00
2019-07-01 08:16:08 -06:00
2018-11-09 08:14:14 -07:00
2018-10-26 14:36:21 -07:00