Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Tweak comment on wapbl_flush.
details: https://anonhg.NetBSD.org/src/rev/77f390356597
branches: trunk
changeset: 345111:77f390356597
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat May 07 22:12:29 2016 +0000
description:
Tweak comment on wapbl_flush.
diffstat:
sys/kern/vfs_wapbl.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r bbb0379c9151 -r 77f390356597 sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Sat May 07 21:15:38 2016 +0000
+++ b/sys/kern/vfs_wapbl.c Sat May 07 22:12:29 2016 +0000
@@ -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 @@
* 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.
*/
Home |
Main Index |
Thread Index |
Old Index