diff options
author | ZiyangZhang <ZiyangZhang@linux.alibaba.com> | 2022-09-23 23:39:17 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-23 19:09:56 -0600 |
commit | a0d41dc1137470fd4c5c2ef8fdc244d7565e69e6 (patch) | |
tree | b03baa74b4950fee817cb70f6898db5eab971a75 /block/blk-throttle.h | |
parent | bbae8d1f526b56d04d51a5fc300d9de702e264dd (diff) | |
download | lwn-a0d41dc1137470fd4c5c2ef8fdc244d7565e69e6.tar.gz lwn-a0d41dc1137470fd4c5c2ef8fdc244d7565e69e6.zip |
ublk_drv: support UBLK_F_USER_RECOVERY_REISSUE
UBLK_F_USER_RECOVERY_REISSUE implies that:
With a dying ubq_daemon, ublk_drv let monitor_work requeues rq issued to
userspace(ublksrv) before the ubq_daemon is dying.
UBLK_F_USER_RECOVERY_REISSUE is designed for backends which:
(1) tolerate double-write since ublk_drv may issue the same rq
twice.
(2) does not let frontend users get I/O error, such as read-only FS
and VM backend.
Signed-off-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220923153919.44078-6-ZiyangZhang@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.h')
0 files changed, 0 insertions, 0 deletions