Re: [RFC PATCH 10/12] block: ublk_drv: mark device as LIVE before adding disk

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


On 2023/3/1 22:06, Ming Lei wrote:
> IO can be started before add_disk() returns, such as reading parititon table,
> then the monitor work should work for making forward progress.
> So mark device as LIVE before adding disk, meantime change to
> DEAD if add_disk() fails.
> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx>
> ---

Reviewed-by: Ziyang Zhang <ZiyangZhang@xxxxxxxxxxxxxxxxx>

[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux