Re: nocow and compression

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

 



As far as I understood, "NOCOW" means that modified parts of files be rewritten 
into place, whereas compression causes compressed blocks of variable sizes to 
be created (depending upon their compression ratio). Changing a block in a file 
will most probably change its compressed size, and then you see why it cannot 
be rewritten into place...

Somebody correct me if I'm wrong ;-)


Le lundi 27 octobre 2014, 14:06:36 Marc Dietrich a écrit :
> > 
> > « Compression does not work for NOCOW files » is clearly stated in
> > 
> > https://btrfs.wiki.kernel.org/index.php/Compression#How_does_compression_i
> > nt eract_with_direct_IO_or_COW.3F
> 
> ah, sorry, I somehow overlooked this.
> 
> Thanks
> 
> Marc

-- 
Swâmi Petaramesh <swami@xxxxxxxxxxxxxx> http://petaramesh.org PGP 9076E32E

Tout être manifesté est là pour embaumer, pour exprimer la Présence.
-- Jean-Marc Mantel

--
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