The patch titled SYNC_FILE_RANGE_WRITE may and will block. Document that. has been added to the -mm tree. Its filename is sync_file_range_write-may-and-will-block-document-that.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: SYNC_FILE_RANGE_WRITE may and will block. Document that. From: Pavel Machek <pavel@xxxxxxx> Signed-off-by: Pavel Machek <pavel@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN fs/sync.c~sync_file_range_write-may-and-will-block-document-that fs/sync.c --- a/fs/sync.c~sync_file_range_write-may-and-will-block-document-that +++ a/fs/sync.c @@ -139,7 +139,8 @@ asmlinkage long sys_fdatasync(unsigned i * 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. Notice that even this this + * may and will block if you attempt to write more than request queue size. * * SYNC_FILE_RANGE_WAIT_AFTER: wait upon writeout of all pages in the range * after performing the write. _ Patches currently in -mm which might be from pavel@xxxxxxx are linux-next.patch aperture_64c-corner-case-wrong.patch sync_file_range_write-may-and-will-block-document-that.patch swsusp-provide-users-with-a-hint-about-the-no_console_suspend-option.patch swsusp-provide-users-with-a-hint-about-the-no_console_suspend-option-fix.patch pm-boot-time-suspend-selftest.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html