Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

RMD should throw error if user unmount resctrl #45

@Shihta

Description

@Shihta

Because RMD should not cache/store any resctrl information, RMD should throw error if user unmount resctrl

Here are 2 cases where RMD should have responded to an error but did not

A. GET /workloads

  1. Run RMD in a fresh environment, there is no workload/COS in RMD/resctrl
  2. Create a workload via POST /workloads
  3. umount resctrl
  4. Query workloads via GET /workloads,
    and then you'll see that the response includes the workload you just created

B. GET /cache/l3

  1. Run RMD in a fresh environment, there is no workload/COS in RMD/resctrl
  2. Query cache information via GET /cache/l3
  3. umount resctrl
  4. Query cache information via GET /cache/l3,
    and then you'll get a response includes cache information without any Internal Server Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions