Re: compressing nocow files

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

 





My question is, what does it do then when a new modification-write comes
in to the compressed no-cow file, and the modification isn't as
compressible as the data it replaced?

If any extent that is attempted to compress is found not compressible then it would mark inode as no-compress. Then inodes with no-compress flag will never attempt to compress its future COW extents. However if a use case expects future extents may be compressible then force-compress option will help, where each COW extent will be attempted to compress and holds compressed data only if there is a compression benefit.

HTH

Anand


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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux