commit | f00d7c85be9e39752ef87047a019dfc4cefbd299 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Wed Apr 05 14:05:51 2017 +1000 |
committer | Shaohua Li <shli@fb.com> | Tue Apr 11 10:18:09 2017 -0700 |
tree | 6b744e16bb6bde65a3d4157969d36dca0cb80520 | |
parent | 868f604b1de2ddbdcf194d7792a0d91d7da719c1 [diff] |
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>