]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: invalidate contents of obc_registry on interval_change
authorSamuel Just <sjust@redhat.com>
Thu, 18 Jan 2024 05:07:15 +0000 (21:07 -0800)
committerSamuel Just <sjust@redhat.com>
Sat, 20 Jan 2024 01:42:06 +0000 (17:42 -0800)
commit83d535cd27e8acd373fa4fbc9405d26272446028
tree2160992e73b7dce6f296350eed029690c1e53a36
parent9fd22e142ff1482079561c6a9f55adaddcdf413f
crimson/osd: invalidate contents of obc_registry on interval_change

We can't guarantee that all continuations will complete before on_flush,
so we unhook and invalidate all live obcs from the registry upon
interval_change.  As long as any lingering continuations simply note the
interval change and terminate, this should be safe.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/object_context.h
src/crimson/osd/object_context_loader.cc
src/crimson/osd/pg.cc