diff options
author | NeilBrown <neilb@suse.com> | 2017-04-05 14:05:51 +1000 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-04-11 10:18:09 -0700 |
commit | f00d7c85be9e39752ef87047a019dfc4cefbd299 (patch) | |
tree | 6b744e16bb6bde65a3d4157969d36dca0cb80520 /drivers/md/raid5-ppl.c | |
parent | 868f604b1de2ddbdcf194d7792a0d91d7da719c1 (diff) | |
download | linux-stable-f00d7c85be9e39752ef87047a019dfc4cefbd299.tar.gz linux-stable-f00d7c85be9e39752ef87047a019dfc4cefbd299.tar.bz2 linux-stable-f00d7c85be9e39752ef87047a019dfc4cefbd299.zip |
md/raid0: fix up bio splitting.
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: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5-ppl.c')
0 files changed, 0 insertions, 0 deletions