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

Add mixed raid levels #2520 #2524

Merged
merged 1 commit into from
Apr 3, 2023

Commits on Mar 25, 2023

  1. Add mixed raid levels rockstor#2520

    Extend our existing raid levels to include:
    raid1c3 and raid1c4, introduced in kernel 5.5.
    Additionally add mixed raid capability.
    We artificially reduce mixed raid profile
    options to assist with usability.
    
    Adds abstraction, with tests, to generate a profile
    from our existing pool raid levels mechanism.
    Includes:
    - Minor rename-refactor from prior TODO.
    - Enable distinguishing between single & single-dup.
    - Add an "unknown" profile as fail-through catch-all.
    - Enable easy Web-UI access to data/metadata via
    additional Pool object properties as thin PROFILE
    look-ups.
    - Surface data-metadata in pool details Web-UI page.
    - Remove now redundant single raid designator
    for data, if metadata = single. As we now have
    data-metadata surfaced we no longer need this.
    - Refactor supported profiles var for test use.
    SUPPORTED_PROFILES was a class variable without
    requirement to be this way. Move to module level
    and use in test_pool.py unsupported profile test case.
    phillxnet committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    85c5342 View commit details
    Browse the repository at this point in the history