#65 semundo doesn't happen upon nodedown

default
closed
IPC (12)
7
2004-07-12
2004-07-07
Keerthi Bhushan
No

Bug found by Andrea (roos@convis.de)
QUOTE
Hello
I have a question about semaphores and OpenSSI. If you
use the SEM_UNDO flag with every semop every
modification to the semaphore is replayed if the
process that made them is terminated. I think that this
undo is not performed, when a node goes down and the
process that had made the modification was running on
it. Is this correct? Does anybody have a solution for it?
Andreas
UNQUOTE

Discussion

  • Logged In: YES
    user_id=825227

    We are not doing the undo's when a node goes down along with
    the process that had performed semop (with UNDO flag).
    openssi/kernel/ipc/sem.c:ipc_semundo_nodedown() routine has
    been added to fix this.

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=825227

    The following files contain the fix on the OPENSSI-RH branch.

    1. openssi/kernel/ipc sem.c,1.2.2.12
    2. openssi/kernel/cluster/ssi/ipc/namesvr_func.c,1.1.2.12

     
  • Logged In: YES
    user_id=825227

    Fix for this is contained in the following files on
    OPENSSI-RH-1-0-STABLE branch:

    1. openssi/kernel/ipc/sem.c,1.2.2.9.2.1
    2. openssi/kernel/cluster/ssi/ipc/namesvr_func.c,1.1.2.8.2.1