]> www.infradead.org Git - linux.git/commitdiff
Merge tag '9p-for-5.7-2' of git://github.com/martinetd/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Apr 2020 04:51:14 +0000 (21:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Apr 2020 04:51:14 +0000 (21:51 -0700)
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

1  2 
Documentation/filesystems/9p.rst

index f054d1c45e86a0b77130ff56b6bf4631be20cd82,3fb780ffdf23a0bae9db60a9e278d924682b08e8..671fef39a8028cb39b17fbd4c1b6ba252d91cd13
@@@ -156,9 -132,18 +156,19 @@@ Option
    cachetag    cache tag to use the specified persistent cache.
                cache tags for existing cache sessions can be listed at
                /sys/fs/9p/caches. (applies only to cache=fscache)
 +  ============= ===============================================================
  
 -BEHAVIOR
++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
 +Resources
  =========
  
  Protocol specifications are maintained on github: