Skip to content

Fix ctl error handling #1365

@lplewa

Description

@lplewa

CTL currently mixes POSIX int/errno returns with umf_result, and its “by_handle” handlers ignore errors from the underlying provider or pool, always returning success. All CTL functions should return umf_result (replace errno values with the corresponding enum) and each *_by_handle handler must propagate the exact umf_result it receives. This change will eliminate inconsistent error handling and prevent silent failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions