VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Pavel Machek <pavel@suse.cz> 2008-07-23 21:27:36 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2008-07-24 10:47:17 -0700 commit: cce770815869e9209171d819dfde89bcc738ab62 parent: bcd78e49613c41b5bed96fa288e983876f286a59
Commit Summary:
SYNC_FILE_RANGE_WRITE may and will block. Document that.
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/sync.c b/fs/sync.c
index 228e17b5e9ee..2967562d416f 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -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.