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

llite: optimize ll_fid2path()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.7.0
    • Lustre 2.6.0, Lustre 2.5.2, Lustre 2.4.3
    • 3
    • 15003

      The only parameter from userspace that matters is the length of the
      buffer. We don't need to allocate then import the whole structure. By
      importing only that length, we can save a memory allocation.

      Add sparse annotations to that function.

            jamesanunez James Nunez (Inactive)
            fzago Frank Zago (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: