Commit cce770815869e9209171d819dfde89bcc738ab62

Authored by Pavel Machek
Committed by Linus Torvalds
1 parent bcd78e4961

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>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -139,7 +139,8 @@
139 139 * before performing the write.
140 140 *
141 141 * SYNC_FILE_RANGE_WRITE: initiate writeout of all those dirty pages in the
142   - * range which are not presently under writeback.
  142 + * range which are not presently under writeback. Note that this may block for
  143 + * significant periods due to exhaustion of disk request structures.
143 144 *
144 145 * SYNC_FILE_RANGE_WAIT_AFTER: wait upon writeout of all pages in the range
145 146 * after performing the write.