bobthesungeek76036 wrote:No, it doesn't. They have similarities, but there is no history between btrfs and ZFS. The filesystems achieve similar goals though on different platforms.
I don't know anything about BTRFS but I believe it has it's roots from ZFS.
My understanding is that data blocks are not really "copied". Rather, when modified data blocks are written, they are written to a new location and the metadata is updated at time of write.Correct.
Dude wrote:Yes. But it does tight packing, so it probably wouldn't write an entire block out for "the" -- it would just squash it into one of the leaves of the b-trees.
Thanks for the feedback. Actually that's one of the parts I'm not sure if I understand it correctly. It is my understanding that Btrfs works on the data block level, which I think is the smallest amount of data that can be allocated. Similar to Oracle database. So in order to modify data, the whole block needs to be written. For example, let's say I change a the word "teh" to "the" in a file. Doesn't it have to read the whole block, modify the content, and check the metadata before writing the complete block?