svn commit: r329133 - user/jeff/numa/sys/kern
Jeff Roberson
jeff at FreeBSD.org
Sun Feb 11 19:54:22 UTC 2018
Author: jeff
Date: Sun Feb 11 19:54:21 2018
New Revision: 329133
URL: https://svnweb.freebsd.org/changeset/base/329133
Log:
notbufdflushes should use the counter(9) api, otherwise we're just bumping
the pointer.
Found by: pho
Modified:
user/jeff/numa/sys/kern/vfs_bio.c
Modified: user/jeff/numa/sys/kern/vfs_bio.c
==============================================================================
--- user/jeff/numa/sys/kern/vfs_bio.c Sun Feb 11 19:51:29 2018 (r329132)
+++ user/jeff/numa/sys/kern/vfs_bio.c Sun Feb 11 19:54:21 2018 (r329133)
@@ -3388,7 +3388,7 @@ flushbufqueues(struct vnode *lvp, int target, int flus
} else {
bremfree(bp);
bwrite(bp);
- notbufdflushes++;
+ counter_u64_add(notbufdflushes, 1);
}
vn_finished_write(mp);
if (unlock)
More information about the svn-src-user
mailing list