]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Added a new command line parameter (-i or --image=) that allows rbd-fuse to specify...
authorStephen F Taylor <steveftaylor@gmail.com>
Mon, 28 Apr 2014 20:49:30 +0000 (14:49 -0600)
committerStephen F Taylor <steveftaylor@gmail.com>
Mon, 28 Apr 2014 20:49:30 +0000 (14:49 -0600)
commit3ec00406996dcfd88dbb32b6deac2fc2879d2e3d
treefdb6d5101d521e7339c0b6945e89c7b5e87f403b
parentc1bf7dbbe1e17dba92ab681e9dfcb46bd72b61c8
Added a new command line parameter (-i or --image=) that allows rbd-fuse to specify a single image to be made available within
the mount directory. The purpose of this is to allow a single RBD to be "mounted" in userspace without opening (and locking)
the other RBDs in the pool.

This is accomplished by performing a case-sensitive string compare in enumerate_images() when an image name is
specified on the command line. If no image name is specified, all images appear in the mount directory. If a non-existent
image name is specified, the mount directory is empty.

Signed-off-by: Stephen F Taylor <steveftaylor@gmail.com>
src/rbd_fuse/rbd-fuse.c