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
4dd1500004
commit
966a7e1173
@ -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