]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: be less strict in main bdev label validation.
authorIgor Fedotov <ifedotov@croit.io>
Mon, 17 Feb 2025 20:14:34 +0000 (23:14 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Tue, 15 Apr 2025 09:04:23 +0000 (12:04 +0300)
commit3b7f16ec84c781503e829e52887dbbbfdf3d4ed1
treed02785c565e7638c24e0bcb63ff52845336c0937
parentb567f85c56f681f77586fe2b5a12440b4d58dbfc
os/bluestore: be less strict in main bdev label validation.

This eliminates treating as an error the case when valid bdev label(s)
exists at location(s)  beyond the size in bdev label.
This is effectively not an error but _check_main_bdev_label() returns an
error in this case. Which is undetectable by fsck and unrecoverable by repair.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 2a9c776f6aa39e8f73ed0159f3c58ad2522a114a)
src/os/bluestore/BlueStore.cc