Skip to content

implement zram support #12513

@smira

Description

@smira

See also #11589

Support zram as well (https://docs.kernel.org/admin-guide/blockdev/zram.html).

What we need:

  • a new volume type
  • on volume provisioning, create respective sysfs values and wait for them to propagate (using KernelParamSpec/KernelParamStatus), run "mkswap" (same as disk swap)
  • when being mounted, use same swapon/swapoff
  • on volume destroying, remove sysfs values, and instead write "reset" value, wait for propagation, remove it

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