freebsd-dev/sys/fs
Rick Macklem 6406db24cb Make the NFSv4 client to use a write open for reading if allowed by the server.
An NFSv4 server has the option of allowing a Read to be done using a Write
Open. If this is not allowed, the server will return NFSERR_OPENMODE.
This patch attempts the read with a write open and then disables this
if the server replies NFSERR_OPENMODE.
This change will avoid some uses of the special stateids. This will be
useful for pNFS/DS Reads, since they cannot use special stateids.
It will also be useful for any NFSv4 server that does not support reading
via the special stateids. It has been tested against both types of NFSv4 server.

MFC after:	2 weeks
2017-04-23 21:51:28 +00:00
..
autofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cd9660 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cuse Prevent cuse4bsd.ko and cuse.ko from loading at the same time by 2016-09-23 07:41:23 +00:00
deadfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
devfs Simplify devfs_fsync() by removing it. This might also be a minor 2017-02-20 16:18:33 +00:00
ext2fs Two more files missed in r317055: these files need sys/vmmeter.h, but now 2017-04-17 17:20:48 +00:00
fdescfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
fifofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fuse fuse: Implement FOPEN_KEEP_CACHE flag 2017-04-21 22:00:22 +00:00
msdosfs All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
nandfs prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
nfs Make the NFSv4 client to use a write open for reading if allowed by the server. 2017-04-23 21:51:28 +00:00
nfsclient Make the NFSv4 client to use a write open for reading if allowed by the server. 2017-04-23 21:51:28 +00:00
nfsserver Fix the setting of atime for Linux client NFSv4 mounts. 2017-04-21 00:17:47 +00:00
nullfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
procfs remove procfs ctl interface 2017-03-05 03:05:24 +00:00
pseudofs Forcibly remove the cached items from pseudofs vncache on module unload. 2017-01-09 20:14:18 +00:00
smbfs - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
tmpfs Remove mistakenly merged field. 2017-01-19 20:03:26 +00:00
udf On error, bread(9) zeroes buffer pointer, do not dereference it. 2016-11-22 13:24:57 +00:00
unionfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00