summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-ppl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-07-18 11:51:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-18 11:51:08 -0700
commit74cbd96bc2e00f5daa805e2ebf49e998f7045062 (patch)
treee3e72349fc4ce85bdbe948c935199b094fc35ae4 /drivers/md/raid5-ppl.c
parentbef85bd7db2669291e33c59875fae33d24c11da3 (diff)
parent6409e84ec58fc4c0085d8921f8e01815dc871971 (diff)
downloadop-kernel-dev-74cbd96bc2e00f5daa805e2ebf49e998f7045062.zip
op-kernel-dev-74cbd96bc2e00f5daa805e2ebf49e998f7045062.tar.gz
Merge tag 'md/4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
Pull MD fixes from Shaohua Li: - raid5-ppl fix by Artur. This one is introduced in this release cycle. - raid5 reshape fix by Xiao. This is an old bug and will be added to stable. - bitmap fix by Guoqing. * tag 'md/4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md: raid5-ppl: use BIOSET_NEED_BVECS when creating bioset Raid5 should update rdev->sectors after reshape md/bitmap: don't read page from device with Bitmap_sync
Diffstat (limited to 'drivers/md/raid5-ppl.c')
-rw-r--r--drivers/md/raid5-ppl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5-ppl.c b/drivers/md/raid5-ppl.c
index 77cce35..44ad5ba 100644
--- a/drivers/md/raid5-ppl.c
+++ b/drivers/md/raid5-ppl.c
@@ -1150,7 +1150,7 @@ int ppl_init_log(struct r5conf *conf)
goto err;
}
- ppl_conf->bs = bioset_create(conf->raid_disks, 0, 0);
+ ppl_conf->bs = bioset_create(conf->raid_disks, 0, BIOSET_NEED_BVECS);
if (!ppl_conf->bs) {
ret = -ENOMEM;
goto err;
OpenPOWER on IntegriCloud