Add comment to read op semantics for direct io

geesefs-0-30-9
Ben Sidhom 2017-04-28 16:59:21 -07:00 committed by Aaron Jacobs
parent 025868ecf2
commit 5f27f3f261
1 changed files with 3 additions and 0 deletions

View File

@ -600,6 +600,9 @@ type ReadFileOp struct {
// (http://goo.gl/SGxnaN) to read a page at a time. It appears to understand
// where EOF is by checking the inode size (http://goo.gl/0BkqKD), returned
// by a previous call to LookUpInode, GetInodeAttributes, etc.
//
// If direct io is enabled, semantics should match those of read (man 2
// read).
BytesRead int
}