Re: [PATCH] ublk: add timeout handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux