Re: [PATCH 1/2] libata: only call ->done once all per-tag ressources are released

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

 



Hello, Christoph.

On Sat, Oct 03, 2015 at 07:21:10PM +0200, Christoph Hellwig wrote:
> Without this the SCSI midlayer can race and queue another command
> before the tag data has been released, which could lead to incorrect
> manipulation of the ata command state.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Hmmm... has this actually been observed?  All these are run under ata
port lock and so is the command issue path, so even if the tag gets
reissued, it will have to wait till the completion path is done.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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