[DRBD-user] Can't unload ib_sdp module after "drbdadm down all" (fishy module refcount)

Florian Haas florian at hastexo.com
Wed Jan 4 19:34:11 CET 2012

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


On Wed, Jan 4, 2012 at 6:08 PM, Lars Ellenberg
<lars.ellenberg at linbit.com> wrote:
> On Wed, Jan 04, 2012 at 04:40:57PM +0100, Lars Ellenberg wrote:
>> On Tue, Jan 03, 2012 at 08:16:15PM +0100, Florian Haas wrote:
>> > Hi,
>> >
>> > DRBD 8.3.12 on CentOS 6.2; SDP from kernel-ib-1.5.3, built locally
>>
>> You too, of all people?
>>
>> Something crops up, and since DRBD is used at the same time,
>> it has to be DRBD's fault?

I was going to ask where in my post you read that.

> And you can try a patch:
>
> diff --git a/drbd/drbd_receiver.c b/drbd/drbd_receiver.c
> index 0e55c45..7decee3 100644
> --- a/drbd/drbd_receiver.c
> +++ b/drbd/drbd_receiver.c
> @@ -528,6 +528,7 @@ STATIC int drbd_accept(struct drbd_conf *mdev, const char **what,
>                goto out;
>        }
>        (*newsock)->ops  = sock->ops;
> +       __module_get((*newsock)->ops->owner);
>
>  out:
>        return err;

Thanks. I'll have to get the customer's permission to try this out on
their hardware though, so it might be a couple of days before I get
back to you. If they decline I'll just spin up testes box that
replicate over IPv6. Thanks again for the quick patch though.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now



More information about the drbd-user mailing list