xfs_buf.{h,c} implements xfs_buf_t the XFS metadata buffer cache
Multi-page buffers
Several “private” buffer pointers
Locking, iodone semaphore for I/O waiters
Callbacks for: iodone, relse, pre-write
In-core log buffers also implemented via xfs_buf_t
This causes some oddities since they use
sub-buffer-sized I/Os
non-page-cache buffers
Separate address space from bdev