diff options
author | NeilBrown | 2017-04-05 06:05:51 +0200 |
---|---|---|
committer | Shaohua Li | 2017-04-11 19:18:09 +0200 |
commit | f00d7c85be9e39752ef87047a019dfc4cefbd299 (patch) | |
tree | 6b744e16bb6bde65a3d4157969d36dca0cb80520 /drivers/md/raid5-ppl.c | |
parent | md/linear: improve bio splitting. (diff) | |
download | kernel-qcow2-linux-f00d7c85be9e39752ef87047a019dfc4cefbd299.tar.gz kernel-qcow2-linux-f00d7c85be9e39752ef87047a019dfc4cefbd299.tar.xz kernel-qcow2-linux-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