Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

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

@bsdphk

Description

@bsdphk

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions