Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.4.0
-
None
-
3
-
7336
Description
In this hunk from udmu_objs_count_estimate():
est_refdblocks = (refdbytes >> SPA_MAXBLOCKSHIFT) + (OSD_DNODE_EST_COUNT << OSD_DNODE_EST_BLKSHIFT); est_usedobjs = usedobjs + OSD_DNODE_EST_COUNT;
OSD_DNODE_EST_COUNT should be right-shifted, not left-shifted. This typo leads to a larger-than-actual dnode size estimation, which further causes overly conservative os_ffree (number of available objects) values, especially for MDTs.