]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix the problem that estimate the log size incorrectly 61891/head
authorwanglinke <wanglinke@cmss.chinamobile.com>
Wed, 27 Mar 2024 09:51:04 +0000 (17:51 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 19 Feb 2025 08:39:46 +0000 (15:39 +0700)
commit2fb10e92f69c5df1bbb2ba52ba991a892b84d97a
tree5adc93f6314bb8dc3a0f9e7f99021f6d64dcc428
parent5528419b079d3fd42f02778e35ae225f3cfae914
os/bluestore: fix the problem that estimate the log size incorrectly

In BlueFS::_estimate_log_size_N, the total size of
the dir was calculated incorrectly.

Fixes: https://tracker.ceph.com/issues/65176
co-author: Jrchyang Yu <yuzhiqiang_yewu@cmss.chinamobile.com>
Signed-off-by: Wang Linke <wanglinke_yewu@cmss.chinamobile.com>
(cherry picked from commit 61058bf102f9ed7dbe2e601f5a1243be5149df06)
src/os/bluestore/BlueFS.cc