Re: Drive reset as an EH strategy when write cache is enabled

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

 



On Wed, 2020-12-02 at 10:55 -0500, Phillip Susi wrote:
> Christoph Hellwig writes:
> 
> > If the device drops the content of the volatile write on a reset
> > we'll have much problems than that..
> 
> How could it not?  The write cache is empty after a power on reset
> and certainly a "hard" reset should be the same as a power on reset.

As Christoph said it would be stupid behaviour to invalidate the cache
after a hard reset because it would cause all deferred writes to fail. 
The SCSI standards committee did initially assume manufacturers knew
this, but it was codified in SBC-4 and beyond with an explicit list of
conditions under which the write back cache could be lost, which
doesn't include hard reset.

James





[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