]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Disable NCB functionality on rotational drives
authorGabriel BenHanokh <benhanokh@gmail.com>
Thu, 10 Mar 2022 15:40:31 +0000 (17:40 +0200)
committerGabriel BenHanokh <gbenhano@redhat.com>
Thu, 24 Mar 2022 08:33:19 +0000 (10:33 +0200)
commit1cf3e3d193f17767e47eb44a200bead61ca484fb
tree5bbf52841944f3ef4ce06081d3bf3f52b7baf993
parent06806b4daf15629b6b20d88969fb82ca71faf71d
os/bluestore: Disable NCB functionality on rotational drives
NCB code needs to recover allocation map after an OSD crash.
The recovery process on rotational drives is about 20x slower than SSD making this solution unacceptable for that environment 

Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
(cherry picked from commit 5fd09658edbf636dd462facfa9878656f641e7de)
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h