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

lfs getstripe should avoid opening regular files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      lfs getstripe uses an ioctl on the parent directory to get the file striping but still opens the file to call the OBD_IOC_GETNAME ioctl in get_mds_md_size(). Rather than doing this we should just use a large enough size for the lum buffer. This avoids interfering with existing file locks and leases on the file.

      Attachments

        Issue Links

          Activity

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: