Re: [Nbd] How to find a free NBD device?
- To: Wouter Verhelst <w@...112...>
- Cc: "email@example.com" <firstname.lastname@example.org>
- Subject: Re: [Nbd] How to find a free NBD device?
- From: Paul Clements <paul.clements@...856...>
- Date: Wed, 5 Mar 2014 15:20:55 -0500
- Message-id: <CAECXXi4cUQvZArjQV37nJV30dH3tLcDcdtay_9zWj9s-p8FGYg@...18...>
- In-reply-to: <4914518.b6MtihjsKu@...3...>
- References: <20140303174147.GA16734@...1265...> <20140303181619.GA17222@...1265...> <CAECXXi4x5j9ZmGyFuyTZ0ua2hbmkU_zMeXRCJa-yJPoKfSmXeA@...18...> <4914518.b6MtihjsKu@...3...>
On Wed, Mar 5, 2014 at 3:31 AM, Wouter Verhelst <w@...112...> wrote:
> We did have a vague discussion once about having something like a
> /dev/nbdmaster which would be used for a "give me an nbd device" type call.
> This would also mean that /dev/nbdX would not exist until the "give me an
> nbd device" call had been made.
> I still think that would be a good idea, but AFAIK it never got implemented.
> Paul, what's your opinion on that?
Sounds reasonable to me. Although I wonder how bad the current
situation really is. Are people having difficulties with races and
such in trying to allocate nbds? Or is it more that it's not clear how
to go about doing it, and people want a cleaner interface?