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

HSM recv buffer reallocated unnecessarily

Details

    • 13954

    Description

      Currently, the 1 MB buffer used by llapi_hsm_copytool_recv is allocated and freed every time through the ct_run loop.

      This is unnecessary, as long as the copy tool clears the the data before calling llapi_hsm_copytool_recv, which lhsmtool_posix already does.

      This patch allocates the buffer once in llapi_hsm_copytool_register and frees it in unregister.

      Patch will be available in Gerrit shortly.

      Attachments

        Activity

          People

            cliffw Cliff White (Inactive)
            paf Patrick Farrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: