summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2017-05-08 21:29:29 +0000
committerrmacklem <rmacklem@FreeBSD.org>2017-05-08 21:29:29 +0000
commit60b322ba95cfd0dbf6eb6dc81b6ae628c1323a93 (patch)
treef0940d48bc5cd45c5a8285590050b31ba21bca4e /sys/fs/udf
parent9bc82128d57d119fc66b19a41aac9c04e3729414 (diff)
downloadFreeBSD-src-60b322ba95cfd0dbf6eb6dc81b6ae628c1323a93.zip
FreeBSD-src-60b322ba95cfd0dbf6eb6dc81b6ae628c1323a93.tar.gz
MFC: r317345
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.
Diffstat (limited to 'sys/fs/udf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud