[DRBD-user] DRBD open and close

Lars Ellenberg lars.ellenberg at linbit.com
Fri Jul 1 12:47:54 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.


On Fri, Jul 01, 2011 at 01:25:10PM +0530, Dileep Nayak wrote:
> 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".

http://www.gossamer-threads.com/lists/drbd/users/17007?do=post_view_threaded


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list