freebsd-skq/sys/fs
rmacklem 8d3f87b2b7 Fix fuse to use DIRECT_IO when required.
When a file is opened write-only and a partial block was written,
buffered I/O would try and read the whole block in. This would
result in a hung thread, since there was no open (fuse filehandle)
that allowed reading. This patch avoids the problem by forcing
DIRECT_IO for this case.
It also sets DIRECT_IO when the file system specifies the FN_DIRECTIO
flag in its reply to the open.

Tested by:	nishida@asusa.net, freebsd@moosefs.com
PR:		194293, 206238
MFC after:	2 weeks
2016-05-14 20:03:22 +00:00
..
autofs kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
cd9660 fs misc: for pointers replace 0 with NULL. 2016-04-15 17:28:24 +00:00
cuse Make CUSE usable with platforms where the size of "unsigned long" is 2015-12-22 09:55:44 +00:00
deadfs
devfs sys/devfs: unsign an index to prevent signed integer overflow. 2016-04-28 02:39:43 +00:00
ext2fs fs/ext2fs: spelling fixes on comment. 2016-04-29 20:45:50 +00:00
fdescfs Rationalize license numbering in fdescfs(5) 2016-04-30 16:01:37 +00:00
fifofs Ensure that when a blockable open of fifo returns success, a valid 2015-09-20 21:18:33 +00:00
fuse Fix fuse to use DIRECT_IO when required. 2016-05-14 20:03:22 +00:00
msdosfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
nandfs sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
nfs Add nid_namelen bounds check to nfssvc system call 2016-05-06 21:19:28 +00:00
nfsclient Use vfs_hash_ref(9) to eliminate LK_EXCLOTHER kludge. As a 2016-05-11 06:35:46 +00:00
nfsserver nfsd: Fix use-after-free in NFS4 lock test service 2016-05-12 05:03:12 +00:00
nullfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
procfs - Consistently use PROC_ASSERT_HELD() to verify that a process' hold count 2015-11-08 01:38:56 +00:00
pseudofs Do not perform unneccessary shared recursion on the allproc_lock in 2016-03-11 11:51:38 +00:00
smbfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
tmpfs sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
udf sys/fs: spelling fixes in comments. 2016-04-29 20:51:24 +00:00
unionfs Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00