commit | 00514677ed829efa2fc688ca60a72e52695529cc | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Tue Aug 13 11:39:50 2019 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Aug 20 12:44:02 2019 -0600 |
tree | fe634640e5815a485670ea4e57588cd943168414 | |
parent | 55313e92bd17a872b99cfb5f21dd6d3ff1999bce [diff] |
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>