nbd: add set cmd timeout helper
authorMike Christie <mchristi@redhat.com>
Tue, 13 Aug 2019 16:39:49 +0000 (11:39 -0500)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Aug 2019 18:44:01 +0000 (12:44 -0600)
commit55313e92bd17a872b99cfb5f21dd6d3ff1999bce
tree36935cbb56e3837cf0a95b82246a25ab230a7748
parent238bdcdf5d0a087f8930c82b7c7cc142ca9399ce
nbd: add set cmd timeout helper

Add a helper to set the cmd timeout. It does not really do a lot now,
but will be more useful in the next patches.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c