Skip to content

feat(proto): add message field to imrpc and spdkrpc Disk - #122

Merged
derekbit merged 1 commit into
longhorn:mainfrom
derekbit:issue-13893
Aug 31, 2026
Merged

derekbit merged 1 commit into
longhorn:mainfrom
derekbit:issue-13893

Conversation

@derekbit

Copy link
Copy Markdown
Member

Which issue(s) this PR fixes:

Issue longhorn/longhorn#13893

What this PR does / why we need it:

Add a "message" field to the Disk message in both imrpc/disk.proto and spdkrpc/spdk.proto so a disk can carry the reason of its current state, e.g. the error of an asynchronous disk creation failure. This is used to surface the failure reason for v2 block disks stuck in an error state.

Special notes for your reviewer:

Additional documentation or context

Add a "message" field to the Disk message in both imrpc/disk.proto
and spdkrpc/spdk.proto so a disk can carry the reason of its current state,
e.g. the error of an asynchronous disk creation failure. This is used to
surface the failure reason for v2 block disks stuck in an error state.

Longhorn 13893

Signed-off-by: Derek Su <derek.su@suse.com>

@davidcheng0922 davidcheng0922 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.

LGTM

@derekbit
derekbit merged commit 0bac432 into longhorn:main Aug 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants