Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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.



[akpm@linux-foundation.org: fix comment text]
Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bcd78e49
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.