commit | c9020e64cf33f2dd5b2a7295f2bfea787279218a | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Mon Jul 06 14:57:32 2020 -0700 |
committer | Song Liu <songliubraving@fb.com> | Tue Jul 14 23:01:31 2020 -0700 |
tree | aec0586fc3450a91410ce822972a21048113ea33 | |
parent | e1a86dbbbd6a77f73c3d099030495fa31f181e2f [diff] |
md/raid5-cache: clear MD_SB_CHANGE_PENDING before flushing stripes In recovery, if we process too much data, raid5-cache may set MD_SB_CHANGE_PENDING, which causes spinning in handle_stripe(). Fix this issue by clearing the bit before flushing data only stripes. This issue was initially discussed in [1]. [1] https://www.spinics.net/lists/raid/msg64409.html Signed-off-by: Song Liu <songliubraving@fb.com>