• NeilBrown's avatar
    md/raid0: fix up bio splitting. · f00d7c85
    NeilBrown authored
    raid0_make_request() should use a private bio_set rather than the
    shared fs_bio_set, which is only meant for filesystems to use.
    
    raid0_make_request() shouldn't loop around using the bio_set
    multiple times as that can deadlock.
    
    So use mddev->bio_set and pass the tail to generic_make_request()
    instead of looping on it.
    Signed-off-by: default avatarNeilBrown <neilb@suse.com>
    Signed-off-by: default avatarShaohua Li <shli@fb.com>
    f00d7c85
raid0.c 18.6 KB