]> git.ipfire.org Git - thirdparty/linux.git/commit
md/raid5: let stripe batch bm_seq comparison wrap-safe
authorChen Cheng <chencheng@fnnas.com>
Thu, 18 Jun 2026 02:57:35 +0000 (10:57 +0800)
committerYu Kuai <yukuai@fygo.io>
Sat, 20 Jun 2026 21:21:07 +0000 (05:21 +0800)
commit00e93faf4cea9e8802ac5dfee0952d84fc95c40f
tree94ac82a130ecd614dc13bd8a98b056b780fde182
parent601d3c21b2e26b676cc67ae8804e991bbbcd4507
md/raid5: let stripe batch bm_seq comparison wrap-safe

Once the 32-bit seq wraps, a newer bm_seq can look smaller
than old, so .. covert to wrap-safe calculate way.

Signed-off-by: Chen Cheng <chencheng@fnnas.com>
Link: https://patch.msgid.link/20260618025735.915113-1-chencheng@fnnas.com
Signed-off-by: Yu Kuai <yukuai@fygo.io>
drivers/md/raid5.c