]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: accept undecodable multi-block bluefs transactions on log 43023/head
authorIgor Fedotov <ifedotov@suse.com>
Wed, 18 Aug 2021 10:39:02 +0000 (13:39 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 2 Sep 2021 09:47:39 +0000 (12:47 +0300)
commite909e38ae6efb47a90015edbd6421ef9b0f163fe
treebec4de151289a341f19fb1a84d878b77908ac391
parent0d1e1f2973cae7645126fc88a72743367c790d9d
os/bluestore: accept undecodable multi-block bluefs transactions on log
replay.

We should proceed with OSD startup when detecting undecodable bluefs
transaction spanning multiple disk blocks during log replay.
The rationale is that such a transaction might appear during unexpected
power down - just not every disk block is written to disk. Hence we can
consider this a normal log replay stop condition.

https://tracker.ceph.com/issues/52079

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 2ba5cb7865c2a7452ee2abda5e0986ce9c42f4b9)
src/os/bluestore/BlueFS.cc