2012-07-22 1:24, Bob Friesenhahn пишет:
On Sat, 21 Jul 2012, Jim Klimov wrote:
During this quick test I did not manage to craft a test which
would inflate a file in the middle without touching its other
blocks (other than using a text editor which saves the whole
file - so that is irrelevant), in order to see if ZFS can
"insert" smaller blocks in the middle of an existing file,
and whether it would reallocate other blocks to fit the set

The POSIX filesystem interface does not support such a thing
('insert').  Presumably the underlying zfs pool could support such a
thing if there was a layer on top to request it. The closest equivalent
in a POSIX filesystem would be if a previously-null block in a sparse
file is updated to hold content.

Well then, this concludes the matter: you were right
five years ago, and this righteousness still holds up ;)

zfs-discuss mailing list

Reply via email to