logbsize
also: log buffer size
A filesystem parameter in XFS that controls the size of the log buffer used for journaling metadata changes. It determines how much data is buffered before being written to the XFS log.
logbsize is a mount option specific to the XFS filesystem that sets the size of the in-memory log buffer (in bytes). This buffer temporarily holds metadata transactions before they are committed to the on-disk journal, improving I/O efficiency by batching writes.
The value must be a power of 2 between 16 KB and 262,144 KB. Larger buffer sizes can improve performance on systems with heavy metadata workloads by reducing the frequency of log writes, while smaller sizes reduce memory overhead and may be preferable on memory-constrained systems.
Example: mount -t xfs -o logbsize=32k /dev/sda1 /mnt mounts an XFS filesystem with a 32 KB log buffer. If not specified, XFS selects a default based on the filesystem configuration.