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

Some changes to raidz expansion feature #5

Merged
merged 4 commits into from
Jul 21, 2020

Commits on Jul 20, 2020

  1. Fix assert in case of incorrect string memory allocation

    Assert message:
    [ 2286.792536] VERIFY3(dptr != NULL) failed (0000000000000000 != 0000000000000000)
    [ 2286.793302] PANIC at spl-kmem.c:453:spl_kmem_free_track()
    
    Built with configure options:
    ./configure --enable-debug --enable-debuginfo --enable-debug-kmem
    --enable-debug-kmem-tracking
    Fedor Uporov authored and Fedor Uporov committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    145cf0c View commit details
    Browse the repository at this point in the history
  2. Restore accelerated math routines

    Use raidz row instead of raidz map pointer as argument for generation
    and reconstruction functions. Restore Makefiles on both user/kernel
    sides. Export raidz expanded map alloc function for future usage.
    Fedor Uporov authored and Fedor Uporov committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    dff66b2 View commit details
    Browse the repository at this point in the history
  3. Restore raidz_test utility

    Add more functional/raidz test cases to test raidz expansion logic.
    
    Add additional input flags to test expanded raidz map functionality.
    Flag -e - select to use expanded version of map alloc function.
    Flag -r - set expansion (reflow) offset. The default value is chosen
    as -1 (uint max), what mean max reflow offset, case when raidz map
    alloc function works in expanded mode.
    Fedor Uporov authored and Fedor Uporov committed Jul 20, 2020
    Configuration menu
    Copy the full SHA
    36c1310 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. Convert raidz_expand_test.sh to appropriate testcase

    Fedor Uporov authored and fuporovvStack committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    3b0dc52 View commit details
    Browse the repository at this point in the history