ublk: add helper to check if device supports user copy
authorAndreas Hindborg <a.hindborg@samsung.com>
Fri, 4 Aug 2023 11:46:08 +0000 (13:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Aug 2023 21:45:53 +0000 (15:45 -0600)
commit9d4ed6d46272bb60036a6539aae74eafcbbb3d2d
treedad5b29a656714106aaf7aed61abd2ffb8c3c779
parent68392b002023cb6dadd3d5044268470a7201b313
ublk: add helper to check if device supports user copy

This will be used by ublk zoned storage support.

Signed-off-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230804114610.179530-2-nmi@metaspace.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c