summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-04-08 21:51:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-08 21:51:14 -0700
commit5d30bcacd91af6874481129797af364a53cd9b46 (patch)
tree6fa78933a347402750e8a1c35da615e49611ff31 /Documentation
parentfcc95f06403c956e3f50ca4a82db12b66a3078e0 (diff)
parentc6f141412d24c8d8a9d98ef45303c0235829044b (diff)
downloadlinux-5d30bcacd91af6874481129797af364a53cd9b46.tar.gz
linux-5d30bcacd91af6874481129797af364a53cd9b46.tar.bz2
linux-5d30bcacd91af6874481129797af364a53cd9b46.zip
Merge tag '9p-for-5.7-2' of git://github.com/martinetd/linux
Pull 9p documentation update from Dominique Martinet: "Document the new O_NONBLOCK short read behavior" * tag '9p-for-5.7-2' of git://github.com/martinetd/linux: 9p: document short read behaviour with O_NONBLOCK
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/9p.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/filesystems/9p.rst b/Documentation/filesystems/9p.rst
index f054d1c45e86..671fef39a802 100644
--- a/Documentation/filesystems/9p.rst
+++ b/Documentation/filesystems/9p.rst
@@ -158,6 +158,16 @@ Options
/sys/fs/9p/caches. (applies only to cache=fscache)
============= ===============================================================
+Behavior
+========
+
+This section aims at describing 9p 'quirks' that can be different
+from a local filesystem behaviors.
+
+ - Setting O_NONBLOCK on a file will make client reads return as early
+ as the server returns some data instead of trying to fill the read
+ buffer with the requested amount of bytes or end of file is reached.
+
Resources
=========