]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: implement VOP_ALLOCATE
authorAlan Somers <asomers@FreeBSD.org>
Sat, 1 Jan 2022 04:04:12 +0000 (21:04 -0700)
committerAlan Somers <asomers@FreeBSD.org>
Tue, 18 Jan 2022 01:13:28 +0000 (18:13 -0700)
commiteccfee8330e8927eafaf543dd630500b3b2c9c03
tree1fc9f60b8b3264e2d98c14531f5f37ddca11a986
parentbfffd351080752652c9f850d1b5540f1097bc7c8
fusefs: implement VOP_ALLOCATE

Now posix_fallocate will be correctly forwarded to fuse file system
servers, for those that support it.

Reviewed by: pfg
Differential Revision: https://reviews.freebsd.org/D33389

(cherry picked from commit 398c88c7582a195cbfeb689ceff1400cc717673f)
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_ipc.c
sys/fs/fuse/fuse_vnops.c
tests/sys/fs/fusefs/Makefile
tests/sys/fs/fusefs/default_permissions.cc
tests/sys/fs/fusefs/fallocate.cc [new file with mode: 0644]
tests/sys/fs/fusefs/last_local_modify.cc
tests/sys/fs/fusefs/mockfs.cc
tests/sys/fs/fusefs/mockfs.hh
tests/sys/fs/fusefs/utils.cc
tests/sys/fs/fusefs/utils.hh