]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
blk,os/bluestore: do not call extblkdev::detect_device on every 68177/head
authorIgor Fedotov <ifedotov@croit.io>
Thu, 2 Apr 2026 10:49:39 +0000 (13:49 +0300)
committerIgor Fedotov <ifedotov@croit.io>
Thu, 2 Apr 2026 10:49:39 +0000 (13:49 +0300)
commitcf0a466c226ae6fef41bbbaf7ad7d3db52263b1b
tree00b9f42c0129c38736ce4c3619d930725ef30a1d
parentd2cc1b76e1648ed67d6a25b8ce408c6049993461
blk,os/bluestore: do not call extblkdev::detect_device on every
KernelDevice::open()

Instead we can do that once during mkfs and once again during Bluestore
mounting if relevant label is attached.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
src/blk/BlockDevice.h
src/blk/kernel/KernelDevice.cc
src/blk/kernel/KernelDevice.h
src/os/bluestore/BlueStore.cc