[DRBD-user] DRBD open and close

Dileep Nayak tech.disscuss2011 at gmail.com
Fri Jul 1 09:55:10 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi All,

While understanding the DRBD code,  we observed that count (open_cnt) is
locked during incrementing in the DRBD_OPEN function. But it was not locked
during decrementing open_cnt count.  Can it create race condition and due to
that open_cnt doesn't get decrmented and raise the issue "Device is held
open by someone".

Please share your thoughts.


Regards,
Dileep Nayak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110701/2f59c6d2/attachment.htm>


More information about the drbd-user mailing list