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

Hybrid IO: Direct IO does not work on pipe iterators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Direct IO cannot safely be done from a pipe iterator like used by NFSD.  This is not normally an issue, since nfsd doesn't attempt to do direct IO in this setting.  However, hybrid IO changes this, switching over.  This only comes up with a very small threshold - smaller than pipe buffer size - but it is a real bug, causing memory corruption.

      The solution is simply to reject all direct IO - not just unaligned - on pipes.

      Attachments

        Activity

          People

            paf0186 Patrick Farrell
            paf0186 Patrick Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: