Skip to content

cls: return EIO instead of ceph::from_error_code() - #68359

Merged
ronen-fr merged 1 commit into
ceph:mainfrom
ronen-fr:wip-rf-cls-fromerror
May 15, 2026
Merged

ronen-fr merged 1 commit into
ceph:mainfrom
ronen-fr:wip-rf-cls-fromerror

Conversation

@ronen-fr

Copy link
Copy Markdown
Contributor

In cls/sem_set/module.cc, the list() function's catch block
called ceph::from_error_code(e.code()), but
the symbol was unresolved in some build configurations.

In cls/sem_set/module.cc, the list() function's catch
block called ceph::from_error_code(e.code()), but
the symbol was unresolved in some build configurations.

Signed-off-by: Ronen Friedman <[email protected]>
@ronen-fr

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@ronen-fr
ronen-fr requested review from Matan-B and aainscow April 22, 2026 05:24

@aainscow aainscow left a comment

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.

Looks good. Given its probably unreachable code, that seems reasonable from a CLS-infrastructure point of view.

I don't have a view as to what a client of SEM would do with an EIO... but it is quite likely to be handled.

@anrao19

anrao19 commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

@ronen-fr
ronen-fr merged commit 76152dc into ceph:main May 15, 2026
6 of 7 checks passed
@ronen-fr
ronen-fr deleted the wip-rf-cls-fromerror branch May 15, 2026 03:34
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.

4 participants