]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: set use_large_block_db in validate, not compute
authorAndrew Schoen <aschoen@redhat.com>
Fri, 30 Nov 2018 17:55:27 +0000 (11:55 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 6 Dec 2018 18:29:47 +0000 (12:29 -0600)
commitfdfb79b91c52f82877d08190cb626ed00b45f3e8
treeb616b3222c9ec29621f2e4d8fa1d25107b3f90cb
parent4a1b97efc87f3df15a39a76de074b4791f3528ca
ceph-volume: set use_large_block_db in validate, not compute

The self.use_large_block_db property was never getting set because
the block in compute was never called as block_db_size was reset in
validate if it was 0. We needed to set self.use_large_block_db in
validate instead of compute.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py