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

Add a liblustreapi call for IOC_MDC_GETFILEINFO

    XMLWordPrintable

Details

    • 9223372036854775807

    Description

      IOC_MDC_GETFILEINFO is a very convenient ioctl to retrieve metadata information (stat + lov EA v1) from MDT. This avoid going to OSTs if you don't need information stored over there (like file size).

      This is wrapped by :

       int get_lmd_info_fd(char *path, int parent_fd, int dir_fd,
                           void *lmdbuf, int lmdlen, enum get_lmd_info_type type)
      

      but this function is not exported and it could be nice to also add a llapi prefix.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              degremoa Aurelien Degremont (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: