Re: [PATCH 0/4] block: fix concurrent quiesce

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

 



On 11/2/21 9:43 PM, Ming Lei wrote:
> Hi Jens,
> 
> Convert SCSI into balanced quiesce and unquiesce by using atomic
> variable as suggested by James, meantime fix previous nvme conversion by
> adding one new API because we have to wait until the started quiesce is
> done.
> 
> 
> Ming Lei (4):
>   blk-mq: add one API for waiting until quiesce is done
>   scsi: avoid to quiesce sdev->request_queue two times
>   scsi: make sure that request queue queiesce and unquiesce balanced
>   nvme: wait until quiesce is done
> 
>  block/blk-mq.c             | 28 +++++++++++++------
>  drivers/nvme/host/core.c   |  4 +++
>  drivers/scsi/scsi_lib.c    | 55 +++++++++++++++++++++++---------------
>  include/linux/blk-mq.h     |  1 +
>  include/scsi/scsi_device.h |  1 +
>  5 files changed, 59 insertions(+), 30 deletions(-)

James/Martin, are you find with the SCSI side? Would make queueing this
up easier...

-- 
Jens Axboe




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux