Skip to content

Crimson setopflag#45719

Merged
liu-chunmei merged 2 commits intoceph:masterfrom
liu-chunmei:crimson-setopflag
Apr 2, 2022
Merged

Crimson setopflag#45719
liu-chunmei merged 2 commits intoceph:masterfrom
liu-chunmei:crimson-setopflag

Conversation

@liu-chunmei
Copy link
Copy Markdown
Contributor

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
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

@liu-chunmei liu-chunmei requested a review from a team as a code owner March 31, 2022 04:52
chunmei-liu added 2 commits March 31, 2022 16:06
If the osd_op failed, still continue to next op when it include
CEPH_OSD_OP_FLAG_FAILOK.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Copy link
Copy Markdown
Contributor

@rzarzynski rzarzynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with just one nit.

do_execute_op(osd_op).handle_error_interruptible(
crimson::ct_error::eagain::pass_further{},
crimson::ct_error::einprogress::pass_further{},
osd_op_errorator::all_same_way([] {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using osd_op_errorator::discard_all{} instead of all_same_way?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using osd_op_errorator::discard_all{} instead of all_same_way?

there is build error, seems discard_call return seastar:future, not consistent with do_execute_op, I can't make a type conversion for discall_all{}. Any suggestion?

@liu-chunmei liu-chunmei merged commit 3cd054d into ceph:master Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants