Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4831

osd-zfs: osd_mkreg() sets block size after object creation is inefficient

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().

      Attachments

        Activity

          People

            isaac Isaac Huang (Inactive)
            isaac Isaac Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: