[Drbd-dev] DRBD on container, lxc

Evgeniy Polyakov zbr at ioremap.net
Mon Mar 21 06:27:00 CET 2011


Hi.

On Mon, Mar 21, 2011 at 10:10:59AM +0900, Ken-ichirou MATSUZAWA (chamas at h4.dion.ne.jp) wrote:
> I did not know where I should post, here is my starting point. I
> started to try DRBD on lxc but did not work. I thought first thing
> to do is makeing connector to net namespace aware. Appended patch
> may have many issue but I noticed only a few though. 
> 
> First this does not add connector sock to struct net, but just
> holding sock as a list and send message to all net namespace. I
> referred lib/kobject_uevent.c

You are holding rcu lock during skb allocation, which is not permitted
for GFP_KERNEL, which may lead to a deadlock. Also netlink_broadcast()
may sleep if allocation policy permits.

-- 
	Evgeniy Polyakov


More information about the drbd-dev mailing list