]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/ObjectStore: add get_devices() method
authorSage Weil <sage@redhat.com>
Fri, 20 Oct 2017 22:11:21 +0000 (17:11 -0500)
committerSage Weil <sage@redhat.com>
Tue, 31 Oct 2017 16:54:42 +0000 (11:54 -0500)
commitf709da6f2c42e86dbc8d86c72004da6475512a59
treefa81e200fc7742d2e007964bdb63700ce6b5d7a0
parent6b3b0afc2898583f1a4e47db65b71653138860ad
os/ObjectStore: add get_devices() method

The intent here is to return the set of hardware storage devices, as
identified by the "devname" (i.e., the directory name for the device in
/sys/block/).  For example, "sda", "nvme0n1", etc.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/ObjectStore.h
src/os/memstore/MemStore.h