Menu

#601 Add a way to remove RDR without removing the Resource

2.15.1
closed-fixed
5
2010-11-29
2010-08-24
Anton Pak
No

HPI B.03 spec introduced new type of resource event SAHPI_RESE_RESOURCE_UPDATED.
Also it introduced saHpiRdrUpdateCountGet().
Henceforth it is possible to remove RDR from an existing Resource.

Current OpenHPI daemon implementation makes decision about adding/updating/removing of Resources and RDRs
while processing HPI events from a handler. Structure oh_event contains a list of RDRs that OpenHPI daemon
implementation adds or updates. But there is no way to remove RDR without removing the Resource.

Proposal: introduce new list in oh_event structure for RDRs to remove. Tune event processing
to recognize this list (only for SAHPI_RESE_RESOURCE_UPDATED resource event).

Discussion

  • Anton Pak

    Anton Pak - 2010-08-27
    • status: open --> closed-fixed
     
  • Anton Pak

    Anton Pak - 2010-08-27

    Implemented in trunk (rev #7134)

     
  • Anton Pak

    Anton Pak - 2010-09-06
    • status: closed-fixed --> open
     
  • Anton Pak

    Anton Pak - 2010-09-06

    Seems the solution had one flaw.
    RDRs that had to be added or to be updated are processed prior to RDRs that had to be deleted.
    It looks reasonable to modify the solution in order to process RDRs to be deleted before RDRs to be added or to be updated

     
  • Anton Pak

    Anton Pak - 2010-09-06
    • status: open --> closed-fixed
     
  • Anton Pak

    Anton Pak - 2010-09-06

    Fixed in trunk (rev #7136)

     
  • Anton Pak

    Anton Pak - 2010-11-29
    • milestone: 898633 --> 2.15.1
     

Log in to post a comment.

MongoDB Logo MongoDB