Re: Feature request: e2fsck -z

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

 



On 08/10/2011 12:04 PM, Florian Weimer wrote:
* Lukas Czerner:

On Wed, 10 Aug 2011, Florian Weimer wrote:

* Lukas Czerner:

You're right. It is a part of e2fsck and you can enable it with -E
discard.
If the block device does not support TRIM, does this result in zeros
being written instead?
Of course not, discard works only on devices which does support it. If
the device does not support discard it will to nothing.
Oh, then it doesn't address hpa's use case (improving compression).


I think that there are multiple ways to help compression.

One would be to extract only the used data blocks (like file system specific dump utilities can do), the other would be to zero with the discard or by writing zeros to the unused blocks.

Ric

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


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux