On Thu, Jun 18, 2020 at 12:28:04PM -0700, Jaegeuk Kim wrote:
> >
> > It would be helpful if there was an f2fs mount option to auto-enable
> > compression
> > on all files (similar to how test_dummy_encryption auto-enables encryption
> > on
> > all files) so that it could be tested more easily.
>
> Eric, you can use "-o compress_extension=*".
>
Okay, great! This isn't mentioned in the documentation:
compress_extension=%s Support adding specified extension, so that f2fs can
enable
compression on those corresponding files, e.g. if all
files
with '.ext' has high compression rate, we can set the
'.ext'
on compression extension list and enable compression on
these file by default rather than to enable it via ioctl.
For other files, we can still enable compression via
ioctl.
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel