freebsd-dev/sys/fs
Alan Somers 032a5bd55b fusefs: Fix a bug during VOP_STRATEGY when the server changes file size
If the FUSE server tells the kernel that a file's size has changed, then
the kernel must invalidate any portion of that file in cache.  But the
kernel can't do that during VOP_STRATEGY, because the file's buffers are
already locked.  Instead, proceed with the write.

PR:		256937
Reported by:	Agata <chogata@moosefs.pro>
Tested by:	Agata <chogata@moosefs.pro>
MFC after:	2 weeks
Reviewed by:	pfg
Differential Revision: https://reviews.freebsd.org/D32332
2021-10-06 14:07:33 -06:00
..
autofs Ensure that dirent's d_off field is initialized 2021-01-03 11:50:31 -05:00
cd9660 buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
cuse Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3) 2020-10-23 08:44:53 +00:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs devfs: Avoid comparison with an uninitialized var in devfs_fp_check() 2021-05-03 13:24:30 -04:00
ext2fs vfs: remove dead fifoop VOP_KQFILTER implementations 2021-10-03 01:02:51 -05:00
fdescfs fdescfs: add an option to return underlying file vnode on lookup 2021-06-04 03:30:12 +03:00
fifofs fifo: support flock 2021-09-25 14:58:31 +00:00
fuse fusefs: Fix a bug during VOP_STRATEGY when the server changes file size 2021-10-06 14:07:33 -06:00
mntfs Add a new "mntfs" pseudo file system which provides private device vnodes for 2020-03-06 18:41:37 +00:00
msdosfs buffer pager: allow get_blksize method to return error 2021-09-17 20:29:55 +03:00
nfs nfs: eliminate thread argument from nfsvno_namei 2021-10-02 00:57:20 +00:00
nfsclient nfscl: Add a check for "has acquired a delegation" to nfscl_removedeleg() 2021-09-26 18:37:25 -07:00
nfsserver nfsd: Fix pNFS handling of Deallocate 2021-10-02 14:11:15 -07:00
nullfs nullfs: provide custom null_rename bypass 2021-07-27 19:58:48 +03:00
procfs Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
pseudofs pseudofs: use vget_prep + vget_finish instead of vget + the interlock 2021-05-19 17:58:42 +00:00
smbfs VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
tmpfs tmpfs: Implement VOP_DEALLOCATE 2021-08-26 05:34:54 +08:00
udf Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
unionfs unionfs: lock newly-created vnodes before calling insmntque() 2021-09-23 19:20:30 -07:00