varnish-cache icon indicating copy to clipboard operation
varnish-cache copied to clipboard

Is the 9 year old linux bug workaround in vfil.c still needed ?

Open bsdphk opened this issue 1 year ago • 0 comments

vfil.c contains a linux specific workaround with this comment:

            /* fallocate will for some filesystems (e.g. xfs) not take
               the already allocated blocks of the file into
               account. This will cause fallocate to report ENOSPC
               when called on an existing fully allocated file unless
               the filesystem has enough free space to accommodate the
               complete new file size. Because of this we enable
               fallocate only on filesystems that are known to work as
               we expect. */

Is that still needed ?

If so, can it be implemented in the linux jail instead ?

bsdphk avatar Aug 05 '24 13:08 bsdphk