From 35a09d71ec596b8c9b0f366885d76de7be43ca60 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 13 Jun 2008 10:51:02 +0000 Subject: [PATCH] SYNC_FILE_RANGE_WRITE can block on writes greater than request queue size. For some background, see http://thread.gmane.org/gmane.linux.kernel/687713/focus=688340 --- man2/sync_file_range.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man2/sync_file_range.2 b/man2/sync_file_range.2 index 112658ac9..9bae126b6 100644 --- a/man2/sync_file_range.2 +++ b/man2/sync_file_range.2 @@ -70,6 +70,8 @@ before performing any write. .B SYNC_FILE_RANGE_WRITE Initiate write-out of all dirty pages in the specified range which are not presently submitted write-out. +Note that even this may may block if you attempt to +write more than request queue size. .TP .B SYNC_FILE_RANGE_WAIT_AFTER Wait upon write-out of all pages in the range