]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Fix EC cache invalidation bug
authorAlex Ainscow <aainscow@uk.ibm.com>
Tue, 22 Apr 2025 12:41:19 +0000 (13:41 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Tue, 1 Jul 2025 12:03:30 +0000 (13:03 +0100)
commit7fad8b94a7509d052e4f6f773fe718b18964c282
tree120ed67107b726fc73fbfe12352a6584b71d8704
parentb72a13ef1fcde577edd5ed397e924178ca083f9b
osd: Fix EC cache invalidation bug

With optimised EC, there were two bugs with cache invalidation:
1. If two invalidates were in the queue, its possible the second
invalidate might be cleared by the first.

2. Reads were being requested if size was being reduced.

Also, added a few debug improvements and some new asserts.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/ECCommon.h
src/osd/ECExtentCache.cc
src/osd/ECExtentCache.h