Re: [PATCH RESEND v2] scsi: ignore Synchronize Cache command failures to keep using drives not supporting it

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

 



On Mon, 01/03/2021 at 12.51 +0000, Damien Le Moal wrote:
> On 2021/03/01 21:39, Guido Trentalancia wrote:
> > If the system is shut down before the sync or drive unmounting and
> > the
> > write cache is enabled, there might be the loss of data in the
> > cache,
> > but this is because of the way the drive is designed.
> 
> That drive is not usable. Even the best journaling file system would
> get corrupted.

It is usable and an ext3 filesystem has not been causing any problem
for over a year now.

> > I believe the kernel should support the drive as it is - plug and
> > play
> > - without requiring cumbersome configurations.
> 
> No. That would be lying to the user. The user expect things to work.
> Not data
> corruptions.

Data corruption is what occurs with the current kernel when one of such
drives is mounted.

With the patch the drive can be used normally and no data corruption
occurs with the drive that I have tested.

This is a proposed patch and nobody is lying, I can report the specific
drive model that I have tested and the tests can be easily replicated
to confirm my findings.

Guido



[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