Commit cce77081 authored by Pavel Machek's avatar Pavel Machek Committed by Linus Torvalds
Browse files

SYNC_FILE_RANGE_WRITE may and will block. Document that.

[ fix comment text]
Signed-off-by: default avatarPavel Machek <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent bcd78e49
......@@ -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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment