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

simplify lower/upper AIO/DIO code

XMLWordPrintable

    • 3
    • 9223372036854775807

      One of the patches for LU-13799, "Implement lower/upper aio" (https://review.whamcloud.com/44209/) created a complicated setup where the cl_dio_aio struct was used both for the top level DIO or AIO and for the lower level sub I/Os (corresponding to stripes).

      This is quite complicated and hard to follow, so this rewrites these two uses to be separate structs.  This incidentally fixes at least one possible memory leak.

      This is an attempt to clean up the code to make some bugs easier to identify.  This may be a prelude to moving the top level AIO to a different struct from the DIO.

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

              Created:
              Updated:
              Resolved: