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

kiblnd_peer_connect_failed() uses list_add() backwards

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      static void
      kiblnd_peer_connect_failed(kib_peer_ni_t *peer_ni, int active, int error)
      ...
              if (list_empty(&peer_ni->ibp_conns)) {
                      /* Take peer_ni's blocked transmits to complete with error */
                      list_add(&zombies, &peer_ni->ibp_tx_queue);
                      list_del_init(&peer_ni->ibp_tx_queue);
      
                      if (kiblnd_peer_active(peer_ni))
                              kiblnd_unlink_peer_locked(peer_ni);
      
                      peer_ni->ibp_error = error;
              } else {
      

      Attachments

        Issue Links

          Activity

            [LU-10819] kiblnd_peer_connect_failed() uses list_add() backwards
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31643/
            Subject: LU-10819 o2ib: use splice in kiblnd_peer_connect_failed()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: f3824b978efe810f4cca42e75f09b5a9860178c5

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31643/ Subject: LU-10819 o2ib: use splice in kiblnd_peer_connect_failed() Project: fs/lustre-release Branch: master Current Patch Set: Commit: f3824b978efe810f4cca42e75f09b5a9860178c5
            jhammond John Hammond added a comment -

            I see now that this code is not exactly broken just very weird. We should fix it, but it is not the cause of LU-10800.

            jhammond John Hammond added a comment - I see now that this code is not exactly broken just very weird. We should fix it, but it is not the cause of LU-10800 .

            John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/31643
            Subject: LU-10819 o2ib: use splice in kiblnd_peer_connect_failed()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 425a0e265e611aac120f8bb119a3dd2e075d109a

            gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/31643 Subject: LU-10819 o2ib: use splice in kiblnd_peer_connect_failed() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 425a0e265e611aac120f8bb119a3dd2e075d109a

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: