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

change EWOULDBLOCK to EAGAIN, add EWOULDBLOCK to spelling.txt

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • 9223372036854775807

    Description

      It's possible to find places in the clio stack where rc is set to -EWOULDBLOCK and later compared to -EAGAIN. And if we're looking at the logs and wonder where rc=-11 came from then we much search for both constants. This is confusing and makes analysis harder than it should be.

      We should change all EWOULDBLOCK instances to EAGAIN and add EWOULDBLOCK||EAGAIN to spelling.txt.

      fs/lustre-release$ git grep EAGAIN | wc -l
           272
      fs/lustre-release$ git grep EWOULDBLOCK | wc -l
            35
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: