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

ct_archive() does not handle return value of llapi_hsm_action_get_fd() correctly.

Details

    • 3
    • 12904

    Description

      errno migh be zero when llapi_hsm_action_get_fd() returns a failure. ct_archive() does not handle it correctly, which might cause HSM take the operation as successful even if it actually fails.

      Attachments

        Activity

          [LU-4694] ct_archive() does not handle return value of llapi_hsm_action_get_fd() correctly.
          jamesanunez James Nunez (Inactive) added a comment - Patch for b2_5 is at http://review.whamcloud.com/#/c/11221/
          pjones Peter Jones added a comment -

          Landed for 2.6

          pjones Peter Jones added a comment - Landed for 2.6
          pjones Peter Jones added a comment -

          James

          Could you please assess this patch?

          Thanks

          Peter

          pjones Peter Jones added a comment - James Could you please assess this patch? Thanks Peter

          Please check this patch.
          http://review.whamcloud.com/9455

          lixi Li Xi (Inactive) added a comment - Please check this patch. http://review.whamcloud.com/9455

          People

            jamesanunez James Nunez (Inactive)
            lixi Li Xi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: