]> git.baikalelectronics.ru Git - kernel.git/commit
raid5: remove the meaningless check in raid5_make_request
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Tue, 16 Jun 2020 09:25:52 +0000 (11:25 +0200)
committerSong Liu <songliubraving@fb.com>
Thu, 16 Jul 2020 17:14:08 +0000 (10:14 -0700)
commit142a7a50c4018b8108d73a0cbc8443d6cdd31e27
treec3c4fd7f6aeddf02193d2367056b6524a46decd7
parent2176cc70357c80fda4027a5b4b88f6be0cb57570
raid5: remove the meaningless check in raid5_make_request

We can't guarntee the batched stripe to be set with STRIPE_HANDLE since
there are lots of functions could set the flag, such as sync_request,
ops_complete_* and end_{read,write}_request etc.

Also clear_batch_ready called in handle_stripe ensures the batched list
can't continue to be handled by handle_stripe.

Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.c