Home
last modified time | relevance | path

Searched refs:minrecs (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_ialloc_btree.c583 unsigned int minrecs[2]; in xfs_inobt_maxlevels_ondisk() local
589 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_inobt_maxlevels_ondisk()
590 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_inobt_maxlevels_ondisk()
592 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_inobt_maxlevels_ondisk()
599 unsigned int minrecs[2]; in xfs_finobt_maxlevels_ondisk() local
604 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_finobt_maxlevels_ondisk()
605 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_finobt_maxlevels_ondisk()
607 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_finobt_maxlevels_ondisk()
Dxfs_refcount_btree.c444 unsigned int minrecs[2]; in xfs_refcountbt_maxlevels_ondisk() local
449 minrecs[0] = xfs_refcountbt_block_maxrecs(blocklen, true) / 2; in xfs_refcountbt_maxlevels_ondisk()
450 minrecs[1] = xfs_refcountbt_block_maxrecs(blocklen, false) / 2; in xfs_refcountbt_maxlevels_ondisk()
452 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_CRC_AG_BLOCKS); in xfs_refcountbt_maxlevels_ondisk()
Dxfs_alloc_btree.c623 unsigned int minrecs[2]; in xfs_allocbt_maxlevels_ondisk() local
629 minrecs[0] = xfs_allocbt_block_maxrecs(blocklen, true) / 2; in xfs_allocbt_maxlevels_ondisk()
630 minrecs[1] = xfs_allocbt_block_maxrecs(blocklen, false) / 2; in xfs_allocbt_maxlevels_ondisk()
632 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_FREESP_RECORDS); in xfs_allocbt_maxlevels_ondisk()
Dxfs_bmap_btree.c611 unsigned int minrecs[2]; in xfs_bmbt_maxlevels_ondisk() local
617 minrecs[0] = xfs_bmbt_block_maxrecs(blocklen, true) / 2; in xfs_bmbt_maxlevels_ondisk()
618 minrecs[1] = xfs_bmbt_block_maxrecs(blocklen, false) / 2; in xfs_bmbt_maxlevels_ondisk()
621 return xfs_btree_compute_maxlevels(minrecs, in xfs_bmbt_maxlevels_ondisk()
Dxfs_rmap_btree.c602 unsigned int minrecs[2]; in xfs_rmapbt_maxlevels_ondisk() local
607 minrecs[0] = xfs_rmapbt_block_maxrecs(blocklen, true) / 2; in xfs_rmapbt_maxlevels_ondisk()
608 minrecs[1] = xfs_rmapbt_block_maxrecs(blocklen, false) / 2; in xfs_rmapbt_maxlevels_ondisk()
621 return xfs_btree_space_to_height(minrecs, XFS_MAX_CRC_AG_BLOCKS); in xfs_rmapbt_maxlevels_ondisk()
/linux-6.6.21/Documentation/filesystems/
Dxfs-online-fsck-design.rst2381 minrecs = maxrecs / 2
2384 This must be at least minrecs and no more than maxrecs.
2385 Choosing minrecs is undesirable because it wastes half the block.
2392 default_load_factor = (maxrecs + minrecs) / 2
2403 minrecs = maxrecs / 2