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

Improve ptlrpc error reporting

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Request allocation code in PTLRPC returns NULL on error and callers assume this is due to the system being out of memory.

      Actually, there are multiple reasons this could fail like GSS error or failure to reconnect from an IDLE state. So let's improve that, making ptlrpc_request_alloc_pack() returns the actual error that will be bumped to the caller and likely the user-space, making debugging easier instead of always falsely return "System is out of memory" which is wrong most of the time.

      Attachments

        Activity

          People

            adegremont_nvda Aurelien Degremont
            adegremont_nvda Aurelien Degremont
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: