mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Correct accuracy of the barrier writes accounting.
Discussed with: mckusick MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f788dba5bb
commit
200bf72793
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341397
@ -2231,7 +2231,7 @@ bufwrite(struct buf *bp)
|
||||
}
|
||||
|
||||
if (bp->b_flags & B_BARRIER)
|
||||
barrierwrites++;
|
||||
atomic_add_long(&barrierwrites, 1);
|
||||
|
||||
oldflags = bp->b_flags;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user