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

Add support for FALLOC_FL_ZERO_RANGE #395

Closed
bahusvel opened this issue Apr 16, 2019 · 2 comments
Closed

Add support for FALLOC_FL_ZERO_RANGE #395

bahusvel opened this issue Apr 16, 2019 · 2 comments
Labels

Comments

@bahusvel
Copy link

Currently specifying this mode to fallocate will fail with EOPNOTSUPP from kernel space https://elixir.bootlin.com/linux/v5.0.6/source/fs/fuse/file.c#L2971. Or perhaps there is a reason why this mode is deliberately not supported?

@Nikratio
Copy link
Contributor

Thanks for the report!

As far as I can tell, this is a missing feature of the FUSE Linux kernel module. This GitHub project is for libfuse, the FUSE userspace counterpart. Reporting kernel issues here will therefore generally not result in much of a response, let alone in them being fixed.

The FUSE kernel module is maintained in the mainline linux kernel, so the best way to get issues addressed is to raise them on the Linux kernel mailing lists, linux-kernel and linux-fsdevel. It would be great if you could report the issue there.

I'll close this issue for now - please feel free to re-open if I misunderstood the problem.

@rwmjones
Copy link
Contributor

I posted a kernel patch which should fix this, please test and review it: https://marc.info/?l=linux-fsdevel&m=162081340116485&w=2

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

No branches or pull requests

3 participants