Details
-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
13318
Description
Currently osd_mkreg() calls dmu_object_set_blocksize() after __osd_object_create()->dmu_object_alloc(). It'd be more efficient to set the block size in dmu_object_alloc() by using the blocksize argument, which eliminates wasteful calls like dnode_hold() in dmu_object_set_blocksize().