Disabling XFS Lazy Counters

With lazy counters enabled on an XFS file system, the free-space and inode counters are maintained in parts of the file system other than the superblock. This arrangement can significantly improve I/O performance for application workloads that are metadata intensive.

Lazy counters are enabled by default. However, if required, you can disable them by specifying the -l lazy-count=0 option to the mkfs.xfs command.