Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bsdphk opened this issue Aug 5, 2024 · 0 comments
Open

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

bsdphk opened this issue Aug 5, 2024 · 0 comments

Comments

@bsdphk
Copy link
Contributor

bsdphk commented Aug 5, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant