Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Like ll_decode_linkea, create ll_decode_lov.
      This allows us to directly scan the MDT for information that can be obtained with lfs getstripe.

      [root@lustre-serv ~]# ll_decode_lov /mnt/ldiskfs/ROOT/st/foo 
      lmm_stripe_count:  2
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 1
        obdidx  objid    objid(hex)  group
        1  2    0x2    0x280000400
        0  20162    0x4ec2    0x240000400
      [root@lustre-serv ~]# lfs getstripe /lustre/st/foo 
      /lustre/st/foo
      lmm_stripe_count:  2
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 1
        obdidx     objid     objid     group
             1               2            0x2     0x280000400
             0           20162         0x4ec2     0x240000400 

      Attachments

        Activity

          People

            skoyama Sohei Koyama
            skoyama Sohei Koyama
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: