Details

    • 8500

    Description

      Following LU-2444, Coverity found a few more error handling issues in the Lustre code.

      I will propose a patch to address the issues.

      Attachments

        Activity

          [LU-3427] Fix 'error handling' issues

          Patch has landed to master.

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

          Reopened per customer request.

          bobbielind Bobbie Lind (Inactive) added a comment - Reopened per customer request.

          Of course I feel this patch is still needed.
          The point of the patch was to test the return value of cfs_cpt_bind() in cfs_wi_scheduler(). The fact that a local variable was removed from this function does not change this.
          I rewrote the patch replacing the use of this 'name' local variable with sched->ws_name.

          Here is the new patch:
          http://review.whamcloud.com/7103

          Please reopen this ticket.

          Thanks,
          Sebastien.

          sebastien.buisson Sebastien Buisson (Inactive) added a comment - Of course I feel this patch is still needed. The point of the patch was to test the return value of cfs_cpt_bind() in cfs_wi_scheduler(). The fact that a local variable was removed from this function does not change this. I rewrote the patch replacing the use of this 'name' local variable with sched->ws_name. Here is the new patch: http://review.whamcloud.com/7103 Please reopen this ticket. Thanks, Sebastien.

          Variable no longer in code base.

          bobbielind Bobbie Lind (Inactive) added a comment - Variable no longer in code base.

          This patch broke the compilation of master and was reverted. After speaking with Oleg, the variable that this patch references no longer exists. If you feel the patch is still needed please submit it again.

          bobbielind Bobbie Lind (Inactive) added a comment - This patch broke the compilation of master and was reverted. After speaking with Oleg, the variable that this patch references no longer exists. If you feel the patch is still needed please submit it again.
          bobbielind Bobbie Lind (Inactive) added a comment - - edited

          The patch was hitting an LBUG found in LU-3453. This bug has been fixed and I rebased and uploaded the rebased patch.

          bobbielind Bobbie Lind (Inactive) added a comment - - edited The patch was hitting an LBUG found in LU-3453 . This bug has been fixed and I rebased and uploaded the rebased patch.
          pjones Peter Jones added a comment -

          Thanks Sebastien

          Bobbie

          Could you please take care of this patch?

          Thanks

          Peter

          pjones Peter Jones added a comment - Thanks Sebastien Bobbie Could you please take care of this patch? Thanks Peter

          The patch is at:
          http://review.whamcloud.com/6510

          Thanks,
          Sebastien.

          sebastien.buisson Sebastien Buisson (Inactive) added a comment - The patch is at: http://review.whamcloud.com/6510 Thanks, Sebastien.

          People

            bobbielind Bobbie Lind (Inactive)
            sebastien.buisson Sebastien Buisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: