]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/.../pg_interval_interrupt_condition: allow specifying epoch
authorSamuel Just <sjust@redhat.com>
Thu, 4 Jul 2024 00:58:42 +0000 (00:58 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 25 Jul 2024 07:53:40 +0000 (10:53 +0300)
commitf2aea46f704e30782c50f0b829c1645996e46f2e
tree5f46ffe01afc25c851e5f0736506ef63d6046c22
parent6f27a6d1df204ab9b34f7efe8ac621b081aa6ac1
crimson/.../pg_interval_interrupt_condition: allow specifying epoch

This allows a with_interruption caller to specify an epoch other than
the current pg epoch.  Doing so is important if the operation in question
was initiated prior to continuation which invokes with_interruption and
a map advance may have occured in the mean time.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 7a1b91ac5e030c490279d8140e568d6d08aba3c8)
src/crimson/osd/pg_interval_interrupt_condition.cc
src/crimson/osd/pg_interval_interrupt_condition.h