git: sys/dev/disk/dm: Fix sanity checks for striped target [4/4]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 31 09:52:26 PDT 2015


commit 097afaf3a6c4a9db8f3f5332bb718b25bc9aaad0
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Oct 31 18:07:54 2015 +0900

    sys/dev/disk/dm: Fix sanity checks for striped target [4/4]
    
    Add sanity checks on relation among
    number of stripes, device size, and chunk size.
    
    This is one of the requirements in Linux dm-striped, but
    disable it for now as it may break systems that currently
    use this target (which I doubt there is any because lvm2
    and dm raid seem to be unusable on DragonFly).

Summary of changes:
 sys/dev/disk/dm/targets/striped/dm_target_striped.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/097afaf3a6c4a9db8f3f5332bb718b25bc9aaad0


-- 
DragonFly BSD source repository



More information about the Commits mailing list