]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: it's better to erase spanning blob only once 29238/head
authorXiangyang Yu <penglaiyxy@gmail.com>
Wed, 24 Jul 2019 01:30:10 +0000 (09:30 +0800)
committerXiangyang Yu <penglaiyxy@gmail.com>
Wed, 24 Jul 2019 01:46:26 +0000 (09:46 +0800)
commit91f6f8fdb1875d400ad6424df059a45c51579788
tree886a7be8284351e8b0c6302964a75c02029dcd4c
parentad4c2b8143fbf0af30e9c8a97088a88160cf9027
os/bluestore: it's better to erase spanning blob only once

when several extents use the same spanning blob, we reclaim the
blob if all Pextent are to be released, but we erase the spanning blob
from spanning blob map several times. Although it's not a error, I think
it's better to erase the spanning blob with the last Oldextent who's
blob empty flag will be set true.

Signed-off-by: Xiangyang Yu <penglaiyxy@gmail.com>
src/os/bluestore/BlueStore.cc