HomeFreeBSD

zil: Add some more statistics.

Description

zil: Add some more statistics.

In addition to a number of actual log bytes written, account also a
total written bytes including padding and total allocated bytes (bytes
<= write <= alloc). It should allow to monitor zil traffic and space
efficiency.

Add dtrace probe for zil block size selection.

Make zilstat report more information and fit it into less width.

Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14863

Details

Provenance
mavAuthored on May 25 2023, 8:51 PM
GitHub <noreply@github.com>Committed on May 25 2023, 8:51 PM
Parents
rGf63811f07213: ZIL: Reduce scope of per-dataset zl_issuer_lock.
Branches
Unknown
Tags
Unknown

Event Timeline