mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
Merge pull request #47599 from xxhdx1985126/wip-backref-minor-bug
crimson/os/seastore/cache: set extent's state to INVALID when invalidating it Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com> Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
This commit is contained in:
commit
98a1a5fa49
@ -804,6 +804,7 @@ void Cache::invalidate_extent(
|
||||
{
|
||||
if (!extent.may_conflict()) {
|
||||
assert(extent.transactions.empty());
|
||||
extent.state = CachedExtent::extent_state_t::INVALID;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user