Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.12.0
    • Fix Version/s: Lustre 2.14.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      9b790ba0f5606c0a91563828fa43f5e4ae210425 LU-11152 lnd: test fpo_fmr_poool pointer instead of special bool
      

      Introduced an issue.

      You can't perform the following check:

      if (!IS_ERR_OR_NULL(fpo->fmr.fpo_fmr_pool))
      

      because

       340 »·······union {                                           
       341 »·······»·······struct {  
       342 »·······»·······»·······struct ib_fmr_pool *fpo_fmr_pool; /* IB FMR pool */
       343 »·······»·······} fmr;                                                          
       344 »·······»·······struct { /* For fast registration */
       345 »·······»·······»·······struct list_head  fpo_pool_list;
       346 »·······»·······»·······int»····»·······  fpo_pool_size;
       347 »·······»·······} fast_reg;                                       
       348 »·······};
      

      It's part of a union so if we have fast reg enabled, then it's possible that the check is successful even though we don't have fmr enabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashehata Amir Shehata
                Reporter:
                ashehata Amir Shehata
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: