aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorVishal Verma <vverma@digitalocean.com>2021-12-21 20:06:20 +0000
committerSong Liu <song@kernel.org>2022-01-06 08:37:02 -0800
commit5aa705039c4fca84575539bfa2b8a28454a3d2ca (patch)
tree21e80f7ed3a99947f3972a371d61accc50128d61 /lib/string_helpers.c
parentf51d46d0e7cb5b8494aa534d276a9d8915a2443d (diff)
downloadlinux-5aa705039c4fca84575539bfa2b8a28454a3d2ca.tar.gz
linux-5aa705039c4fca84575539bfa2b8a28454a3d2ca.tar.bz2
linux-5aa705039c4fca84575539bfa2b8a28454a3d2ca.zip
md: raid1 add nowait support
This adds nowait support to the RAID1 driver. It makes RAID1 driver return with EAGAIN for situations where it could wait for eg: - Waiting for the barrier, wait_barrier() fn is modified to return bool to support error for wait barriers. It returns true in case of wait or if wait is not required and returns false if wait was required but not performed to support nowait. Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Vishal Verma <vverma@digitalocean.com> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions