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

o2iblnd: use wrapper struct when building CM context

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • 3
    • 9223372036854775807

      Create a wrapper struct which bundles a type tag and a union of pointers to context payload. When preparing the context, allocate and fill out the struct. When handling a CM event, check the type and cast the pointer accordingly.

            ssmirnov Serguei Smirnov
            ssmirnov Serguei Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: