summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2026-01-13 00:05:02 +0200
committerJens Axboe <axboe@kernel.dk>2026-01-12 15:07:31 -0700
commit65955a0993a0a9536263fea2eaae8aed496dcc9c (patch)
treeae4c0ab8b5945356ccc4a93aef212ce83195511a /include/linux
parent93ada1b3da398b492c45429cef1a1c9651d5c7ba (diff)
selftests: ublk: add stop command with --safe option
Add 'stop' subcommand to kublk utility that uses the new UBLK_CMD_TRY_STOP_DEV command when --safe option is specified. This allows stopping a device only if it has no active openers, returning -EBUSY otherwise. Also add test_generic_16.sh to test the new functionality. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions