On Tue, May 02, 2023 at 09:01:50AM +0800, Ming Lei wrote: > Add timeout handler, so that we can provide forward progress guarantee for > unprivileged ublk, which can't be trusted. > > One thing is that sync() calls sync_bdevs(wait) for all block devices after > running sync_bdevs(no_wait), and if one device can't move on, the sync() won't > return any more. > > Add timeout for unprivileged ublk to avoid such affect for other users which call > sync() syscall. > We need to clear UBLK_F_USER_RECOVERY_REISSUE for unprivileged ublk, please ignore this patch, and will send V2. Thanks, Ming