Re: [PATCH 0/9] Rework runtime suspend and SCSI domain validation

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

 



On Sat, Sep 05, 2020 at 06:22:10PM -0700, Bart Van Assche wrote:
> Hi Jens,
> 
> The SCSI runtime suspend and domain validation mechanisms both use
> scsi_device_quiesce(). scsi_device_quiesce() restricts blk_queue_enter() to
> BLK_MQ_REQ_PREEMPT requests. There is a conflict between the requirements
> of runtime suspend and SCSI domain validation: no requests must be sent to
> runtime suspended devices that are in the state RPM_SUSPENDED while
> BLK_MQ_REQ_PREEMPT requests must be processed during SCSI domain
> validation. This conflict is resolved by reworking the SCSI domain
> validation implementation.
> 
> Hybernation and runtime suspend have been retested but SCSI domain
> validation not yet.
> 
> Please consider this patch series for kernel v5.10.
> 
> Thanks,
> 
> Bart.
> 
> Alan Stern (1):
>   block: Do not accept any requests while suspended
> 
> Bart Van Assche (8):
>   block: Fix a race in the runtime power management code
>   ide: Do not set the RQF_PREEMPT flag for sense requests
>   scsi: Pass a request queue pointer to __scsi_execute()
>   scsi: Rework scsi_mq_alloc_queue()
>   scsi: Do not wait for a request in scsi_eh_lock_door()
>   scsi_transport_spi: Make spi_execute() accept a request queue pointer
>   scsi_transport_spi: Freeze request queues instead of quiescing
>   block, scsi, ide: Only process PM requests if rpm_status != RPM_ACTIVE

I don't know enough about the IDE subsystem to judge patches 2 or 8.

For patches 3 - 7:

Reviewed-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Alan Stern



[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