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
@ -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