mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
SYNC_FILE_RANGE_WRITE may and will block. Document that.
[akpm@linux-foundation.org: fix comment text] Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bcd78e4961
commit
cce7708158
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ asmlinkage long sys_fdatasync(unsigned int fd)
|
|||
* before performing the write.
|
||||
*
|
||||
* SYNC_FILE_RANGE_WRITE: initiate writeout of all those dirty pages in the
|
||||
* range which are not presently under writeback.
|
||||
* range which are not presently under writeback. Note that this may block for
|
||||
* significant periods due to exhaustion of disk request structures.
|
||||
*
|
||||
* SYNC_FILE_RANGE_WAIT_AFTER: wait upon writeout of all pages in the range
|
||||
* after performing the write.
|
||||
|
|
Loading…
Reference in a new issue