The block size for filesystems can also be quite large (currently, up
to 16M).
It seems ZFS tries to "help" apps by reporting misinformation (namely a
smaller block size than actually preferred) when the file is small. This
is unfortunate, since it messes up cp and similar programs that need
On 19/11/2022 08:14, Korn Andras wrote:
Hi,
on zfs, newfstatat() can return an st_blksize that is approximately equal to
the file size in bytes (if the file fit into a single zfs record).
The block size for filesystems can also be quite large (currently, up to 16M).
The code at
Hi,
on zfs, newfstatat() can return an st_blksize that is approximately equal to
the file size in bytes (if the file fit into a single zfs record).
The block size for filesystems can also be quite large (currently, up to 16M).
The code at