Re: [Nbd] [PATCH 4/4] nbd: add a nbd-control interface
- To: Arnd Bergmann <arnd@...2332...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>, linux-block@...25..., Josef Bacik <jbacik@...2204...>, Greg KH <gregkh@...1299...>, axboe@...2204..., kernel-team@...2204...
- Subject: Re: [Nbd] [PATCH 4/4] nbd: add a nbd-control interface
- From: Paul Clements <paul.clements@...856...>
- Date: Wed, 25 Jan 2017 13:24:32 -0500
- Message-id: <CAECXXi5kuv1=kwZGj9c86GxTCw2HA5VDYsWggRXhD1oqFarOCA@...18...>
- In-reply-to: <CAK8P3a10K-8GwwcZLd4HwYHzxcB8cwww3y73np_Th65af7m6gQ@...18...>
- References: <1484949412-6903-1-git-send-email-jbacik@...2204...> <1484949412-6903-4-git-send-email-jbacik@...2204...> <20170121090531.GB27048@...926...> <1485182528.9861.22@...2791...> <20170123145212.GA19582@...926...> <1485183472.21123.0@...2791...> <20170123150325.GB26884@...926...> <1485186762.21123.1@...2791...> <20170124071152.GB13251@...926...> <1485352053.5902.0@...2791...> <CAK8P3a10K-8GwwcZLd4HwYHzxcB8cwww3y73np_Th65af7m6gQ@...18...>
On Wed, Jan 25, 2017 at 9:23 AM, Arnd Bergmann <arnd@...2332...> wrote:
>
> They all have their own set of problems, but the needs of nbd as a network
> storage interface seem most closely resemble what we have for other network
> related interfaces, where we typically use netlink to do the setup, see e.g.
> macvtap as an example for a network chardev interface.
But nbd is a virtual block device, first and foremost. That means it
is very similar to both loop (Pavel began nbd as a copy of loop, I
believe) and device mapper.
Also, it uses ioctls for all configuration and administration currently.
--
Paul
Reply to: