Skip to content

Commit

Permalink
Enable QoS on volume level.
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com>
  • Loading branch information
artek-koltun committed Apr 26, 2023
1 parent ccfce82 commit 9349c67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ opi_api.storage.v1.FrontendNvmeService
opi_api.storage.v1.FrontendVirtioBlkService
opi_api.storage.v1.FrontendVirtioScsiService
opi_api.storage.v1.MiddleendEncryptionService
opi_api.storage.v1.MiddleendQosVolumeService
opi_api.storage.v1.NVMfRemoteControllerService
opi_api.storage.v1.NullDebugService
```
Expand Down
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func main() {
pb.RegisterNullDebugServiceServer(s, backendOpiSpdkServer)
pb.RegisterAioControllerServiceServer(s, backendOpiSpdkServer)
pb.RegisterMiddleendEncryptionServiceServer(s, middleendOpiIntelServer)
pb.RegisterMiddleendQosVolumeServiceServer(s, middleendOpiIntelServer)
pc.RegisterInventorySvcServer(s, &inventory.Server{})
ps.RegisterIPsecServer(s, &ipsec.Server{})

Expand Down
2 changes: 2 additions & 0 deletions pkg/middleend/middleend.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ var (
// Server contains middleend related OPI services
type Server struct {
pb.MiddleendEncryptionServiceServer
pb.MiddleendQosVolumeServiceServer
rpc spdk.JSONRPC
}

// NewServer creates initialized instance of middleend server
func NewServer(jsonRPC spdk.JSONRPC) *Server {
opiSpdkServer := middleend.NewServer(jsonRPC)
return &Server{
opiSpdkServer,
opiSpdkServer,
jsonRPC,
}
Expand Down

0 comments on commit 9349c67

Please sign in to comment.