mirror of
https://github.com/gluster/glusterd2.git
synced 2026-02-05 12:45:38 +01:00
Currently, to GET/DELETE any block volume we mount all the block hosting volumes and readdir all the volumes, and loop through it, to find the block hosting volume, the block belongs to. This approach is not scalable. Hence, in the metadata of the block hosting volume, we keep a list of all the block volumes present in that host volume. This way, GET/DELETE walks through the volume metadata rather than the readdir. Signed-off-by: Poornima G <pgurusid@redhat.com>