gluster / nbd-runner

Network Block Device for Distributed Storages, such as Gluster, Ceph, Azure, etc.
GNU General Public License v2.0
11 stars 4 forks source link

runner: Add nbd-runner and nbd-cli support and switch to autoconfig #1

Closed lxbsz closed 5 years ago

lxbsz commented 5 years ago

From this commit, there will be one Server daemon nbd-runner running, which mostly will run together with the backend storage service, such as glusterfs. And the nbd-cli cmd could run any whether as you like.

nbd-cli is using the RPC to control and send the commands to nbd-runner, and the I/Os will in another socket path.

TODO: 1, add logger support 2, split the gluster code and make it as one handler, which could more easy to add other handler support. 3, add read-only options support. 4, add UNIX support if the client and server are both in the same node. 5, split the nbd-cli and make it more easy to add other handler support.

Signed-off-by: Xiubo Li xiubli@redhat.com