Skip to content

crimson: audit and correct epoch captured by IOInterruptCondition#58463

Merged
Matan-B merged 8 commits intoceph:mainfrom
athanatos:sjust/wip-66827-interrupt-epoch
Jul 24, 2024
Merged

crimson: audit and correct epoch captured by IOInterruptCondition#58463
Matan-B merged 8 commits intoceph:mainfrom
athanatos:sjust/wip-66827-interrupt-epoch

Conversation

@athanatos
Copy link
Contributor

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

athanatos added 3 commits July 3, 2024 21:26
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>
…for interruption

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos requested a review from a team as a code owner July 8, 2024 19:22
@athanatos
Copy link
Contributor Author

athanatos commented Jul 8, 2024

crimson-rados/thrash --limit 10 sjust-2024-07-06_06:23:37-crimson-rados:thrash-wip-sjust-crimson-testing-2024-07-05-distro-default-smithi: one notable failure, looks good otherwise

Full crimson-rados run pending https://pulpito.ceph.com/sjust-2024-07-07_00:37:55-crimson-rados-wip-sjust-crimson-testing-2024-07-05-distro-default-smithi/

@athanatos
Copy link
Contributor Author

jenkins test make check

@athanatos
Copy link
Contributor Author

@Matan-B
Copy link
Contributor

Matan-B commented Jul 9, 2024

jenkins test api

@Matan-B
Copy link
Contributor

Matan-B commented Jul 11, 2024

@athanatos
Copy link
Contributor Author

athanatos commented Jul 11, 2024

Bug in InternalClientRequest, @Matan-B good catch!

InternalClientRequest::InternalClientRequest(Ref<PG> pg)
  : pg(pg), start_epoch(pg->get_osdmap_epoch())

moved pg before pg->get_osdmap_epoch().

… use for interruption

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Samuel Just <sjust@redhat.com>
…epoch

Let's be explicit about this as allowing the epoch to be grabbed out of
pg->get_osdmap_epoch() implicitely is going to be wrong fairly often.

Signed-off-by: Samuel Just <sjust@redhat.com>
…ion(Ref<PG>& pg); constructor

This variant is error prone, better to be explicit.

Signed-off-by: Samuel Just <sjust@redhat.com>
…ents

Signed-off-by: Samuel Just <sjust@redhat.com>
@athanatos athanatos force-pushed the sjust/wip-66827-interrupt-epoch branch from d990592 to b49f82a Compare July 11, 2024 17:53
@athanatos
Copy link
Contributor Author

Repushed with fix.

@Matan-B
Copy link
Contributor

Matan-B commented Jul 21, 2024

jenkins test make check

@Matan-B
Copy link
Contributor

Matan-B commented Jul 21, 2024

jenkins test api

1 similar comment
@Matan-B
Copy link
Contributor

Matan-B commented Jul 23, 2024

jenkins test api

@Matan-B Matan-B merged commit 48b5021 into ceph:main Jul 24, 2024
NitzanMordhai pushed a commit to NitzanMordhai/ceph that referenced this pull request Aug 1, 2024
…t-epoch

crimson: audit and correct epoch captured by IOInterruptCondition

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants