]> git.baikalelectronics.ru Git - kernel.git/commit
raid5-ppl: use BIOSET_NEED_BVECS when creating bioset
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>
Tue, 11 Jul 2017 14:16:24 +0000 (16:16 +0200)
committerShaohua Li <shli@fb.com>
Wed, 12 Jul 2017 16:26:37 +0000 (09:26 -0700)
commit6409e84ec58fc4c0085d8921f8e01815dc871971
tree9926802484ac5bccd4eefc59f3b1dd9074340f12
parentb5d27718f38843a74552e9a93d32e2391fd3999f
raid5-ppl: use BIOSET_NEED_BVECS when creating bioset

This bioset is used for allocating bios with nr_iovecs > 0 so this flag
must be set.

Fixes: 011067b05668 ("blk: replace bioset_create_nobvec() with a flags arg to bioset_create()")
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5-ppl.c