]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: resize stripe_head when reshape array
authorYufen Yu <yuyufen@huawei.com>
Thu, 20 Aug 2020 13:22:13 +0000 (09:22 -0400)
committerSong Liu <songliubraving@fb.com>
Thu, 24 Sep 2020 23:44:45 +0000 (16:44 -0700)
commit4567b88d2a24f3857184c57ba5af93947fdfd1cf
treebb3aafd61bba64753865924e939cb851911dd9e8
parentc42b1a9a65ce95b51282e3eb2ffc07df2a7d9483
md/raid5: resize stripe_head when reshape array

When reshape array, we try to reuse shared pages of old stripe_head,
and allocate more for the new one if needed.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.c