md: raid456 add nowait support
authorVishal Verma <vverma@digitalocean.com>
Tue, 21 Dec 2021 20:06:22 +0000 (20:06 +0000)
committerSong Liu <song@kernel.org>
Thu, 6 Jan 2022 16:37:02 +0000 (08:37 -0800)
commitbf2c411bb1cfc45f73eb6c55b5755bcb990063ae
tree1a9a8189222bbd8f82f0436856c18dc5f6432b63
parentc9aa889b035fca4598ae985a0f0c76ebbb547ad2
md: raid456 add nowait support

Returns EAGAIN in case the raid456 driver would block waiting for reshape.

Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Vishal Verma <vverma@digitalocean.com>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5.c