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

incompatbile error handling in llog_open()

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.4.1, Lustre 2.5.0
    • Lustre 1.8.9, Lustre 2.4.1, Lustre 2.5.0
    • 3
    • 8698

    Description

      In master version, llog_open() calls llog_alloc_handle() bug does not handle return value correctly. It takes NULL as the error return value. But llog_alloc_handle() returns ERR_PTR(-ENOMEM) instead when error.

      This is also an problem in llog_client_create() in Lustre-1.8.9. This problem is related to LU-980.

      Attachments

        Activity

          [LU-3470] incompatbile error handling in llog_open()

          Patch has landed to master.

          bobbielind Bobbie Lind (Inactive) added a comment - Patch has landed to master.

          The patch was successfully cherry-picked to master. I have ported the patch to b1_8 and it is tracked at http://review.whamcloud.com/#/c/7106/

          bobbielind Bobbie Lind (Inactive) added a comment - The patch was successfully cherry-picked to master. I have ported the patch to b1_8 and it is tracked at http://review.whamcloud.com/#/c/7106/

          This patch failed due to the recently fixed LU-3453 LBUG. I will rebase and resubmit.

          bobbielind Bobbie Lind (Inactive) added a comment - This patch failed due to the recently fixed LU-3453 LBUG. I will rebase and resubmit.
          pjones Peter Jones added a comment -

          Thanks Li Xi.

          Bobbie

          Could you please take care of this patch?

          Thanks

          Peter

          pjones Peter Jones added a comment - Thanks Li Xi. Bobbie Could you please take care of this patch? Thanks Peter
          lixi Li Xi (Inactive) added a comment - the patch is tracked at http://review.whamcloud.com/#change,6644

          People

            bobbielind Bobbie Lind (Inactive)
            lixi Li Xi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: