Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spdk): support backing image in spdk #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#6341

  • Add BackingImageName in SpdkInstanceSpec, so it can create spdk replica with backing image
  • Add proxy api, longhorn-manager will access spdk server through the engine proxy, but it don't have engine involved.
    rpc SPDKBackingImageCreate(SPDKBackingImageCreateRequest) returns (SPDKBackingImageResponse);
    rpc SPDKBackingImageDelete(SPDKBackingImageDeleteRequest) returns (google.protobuf.Empty);
    rpc SPDKBackingImageGet(SPDKBackingImageGetRequest) returns (SPDKBackingImageResponse);
    rpc SPDKBackingImageList(google.protobuf.Empty) returns (SPDKBackingImageListResponse);
    rpc SPDKBackingImageWatch(google.protobuf.Empty) returns (stream google.protobuf.Empty) {}
  • Add spdk api, so we can manage backing image in spdk server
    rpc BackingImageCreate(BackingImageCreateRequest) returns (BackingImage);
    rpc BackingImageDelete(BackingImageDeleteRequest) returns (google.protobuf.Empty);
    rpc BackingImageGet(BackingImageGetRequest) returns (BackingImage);
    rpc BackingImageList(google.protobuf.Empty) returns (BackingImageListResponse);
    rpc BackingImageWatch(google.protobuf.Empty) returns (stream google.protobuf.Empty) {}
    rpc BackingImageExpose(BackingImageGetRequest) returns (BackingImageExposeResponse) {}
    rpc BackingImageUnexpose(BackingImageGetRequest) returns (google.protobuf.Empty) {}

ref: longhorn/longhorn 6341

Signed-off-by: Jack Lin <[email protected]>
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.

1 participant