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

o2iblnd: convert LASSERT (tx->tx_sending > 0); to proper error handling

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      When a tx completes kiblnd_tx_complete() callback is invoked. We ensure:

      LASSERT (tx->tx_sending > 0);

      However this assert is being triggered in some rare scenarios.

      The reasosn tx_sending would be 0 at this point is because:

      1. ib_post_send() failed but OFED stack is still sending a tx complete event
      2. we're getting two different events for the same tx

      Instead of asserting, it'll be better to ignore that tx_complete event and print some more details on the tx in question.

      Attachments

        Activity

          People

            ashehata Amir Shehata (Inactive)
            ashehata Amir Shehata (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: