]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: prevent incorrect space calculation at maximum capacity 63428/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 22 May 2025 06:41:01 +0000 (06:41 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 22 May 2025 10:38:06 +0000 (10:38 +0000)
commit149084fc5017ea28def35668f9c17d5911d03aae
treec055c23a8f23f186acb7180f3f5ffbc53d90cc7b
parent3a75e1a0df1b38015eedd378f00d5ff1fd02151d
crimson/os/seastore: prevent incorrect space calculation at maximum capacity

This commit updates seastore to increment used_bytes only when
 allocation is successful.
Without this commit, the seatore reports incorrect size if alloc_paddr fails
(e.g., due to insufficient space)

Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
src/crimson/os/seastore/async_cleaner.h