Skip to content

Commit 5d30bca

Browse files
committed
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
2 parents fcc95f0 + c6f1414 commit 5d30bca

File tree

1 file changed

+10
-0
lines changed
  • Documentation/filesystems

1 file changed

+10
-0
lines changed

Documentation/filesystems/9p.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ Options
158158
/sys/fs/9p/caches. (applies only to cache=fscache)
159159
============= ===============================================================
160160

161+
Behavior
162+
========
163+
164+
This section aims at describing 9p 'quirks' that can be different
165+
from a local filesystem behaviors.
166+
167+
- Setting O_NONBLOCK on a file will make client reads return as early
168+
as the server returns some data instead of trying to fill the read
169+
buffer with the requested amount of bytes or end of file is reached.
170+
161171
Resources
162172
=========
163173

0 commit comments

Comments
 (0)