diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-04-16 11:54:40 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-04-16 19:33:21 -0600 |
commit | 736b005b413a172670711ee17cab3c8ccab83223 (patch) | |
tree | 5838622c84ec970cd51ab4f49ee577418ba6ce1d /rust/helpers/helpers.c | |
parent | 82a8a30c581bbbe653d33c6ce2ef67e3072c7f12 (diff) | |
download | linux-736b005b413a172670711ee17cab3c8ccab83223.tar.gz linux-736b005b413a172670711ee17cab3c8ccab83223.tar.bz2 linux-736b005b413a172670711ee17cab3c8ccab83223.zip |
ublk: remove __ublk_quiesce_dev()
Remove __ublk_quiesce_dev() and open code for updating device state as
QUIESCED.
We needn't to drain inflight requests in __ublk_quiesce_dev() any more,
because all inflight requests are aborted in ublk char device release
handler.
Also we needn't to set ->canceling in __ublk_quiesce_dev() any more
because it is done unconditionally now in ublk_ch_release().
Reviewed-by: Uday Shankar <ushankar@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250416035444.99569-7-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions