Re: [PATCH] ata: libata: Introduce ata_port_eh_scheduled()

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

 



On Fri, Jul 04, 2025 at 07:46:00PM +0900, Damien Le Moal wrote:
> Introduce the inline helper function ata_port_eh_scheduled() to test if
> EH is pending (ATA_PFLAG_EH_PENDING port flag is set) or running
> (ATA_PFLAG_EH_IN_PROGRESS port flag is set) for a port. Use this helper
> in ata_port_wait_eh() and __ata_scsi_queuecmd() to replace the hardcoded
> port flag tests.
> 
> No functional changes.
> 
> Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

Reviewed-by: Niklas Cassel <cassel@xxxxxxxxxx>




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux