Re: [PATCH] block: reintroduce discard_zeroes_data sysfs file and BLKDISCARDZEROES

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

 



On Thu, Aug 17, 2017 at 01:47:13PM -0400, Martin K. Petersen wrote:
> 
> Lukas,
> 
> > Do we also know that the blocks were discarded as we do with
> > BLKDISCARD ?
> 
> There never was a way to know for sure.
> 
> ATA DSM TRIM and SCSI UNMAP are hints by definition. We attempted to
> bend their semantics towards getting predictable behavior but ultimately
> failed. Too many corner cases.

I believe that eMMC and UFS does give you a way to get stronger
guarantees.

It's unfortunate that SATA did not get this right; it's even more
unfortunate that for many drives it works 99% of the time.  But yes,
it's not a guarantee.

						- Ted



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux