Module Name: src
Committed By: riastradh
Date: Sat May 7 22:12:29 UTC 2016
Modified Files:
src/sys/kern: vfs_wapbl.c
Log Message:
Tweak comment on wapbl_flush.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/vfs_wapbl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/vfs_wapbl.c
diff -u src/sys/kern/vfs_wapbl.c:1.76 src/sys/kern/vfs_wapbl.c:1.77
--- src/sys/kern/vfs_wapbl.c:1.76 Sat May 7 21:15:38 2016
+++ src/sys/kern/vfs_wapbl.c Sat May 7 22:12:29 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_wapbl.c,v 1.76 2016/05/07 21:15:38 riastradh Exp $ */
+/* $NetBSD: vfs_wapbl.c,v 1.77 2016/05/07 22:12:29 riastradh Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.76 2016/05/07 21:15:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.77 2016/05/07 22:12:29 riastradh Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@@ -1536,8 +1536,10 @@ wapbl_biodone(struct buf *bp)
* 2. Wait for enough space in the log for the current transaction.
* 3. Synchronously write the new log records, advancing the
* circular queue head.
- * 4. If wait is true, also wait for all the logged writes to
- * complete so that the log is empty on return.
+ * 4. Issue the pending block writes asynchronously, now that they
+ * are recorded in the log and can be replayed after crash.
+ * 5. If wait is true, wait for all writes to complete and for the
+ * log to become empty.
*
* On failure, call the file system's wl_flush_abort callback.
*/