[dm-devel] [PATCH 4/5] libmultipath: change directio get_events() timeout handling

Martin Wilck mwilck at suse.com
Wed Feb 19 09:46:28 UTC 2020


On Wed, 2020-02-19 at 00:54 -0600, Benjamin Marzinski wrote:
> get_events() used a NULL or a zeroed timeout to mean "don't wait".
> io_getevents() uses a NULL timeout to mean "wait forever" and a
> zeroed timeout to mean "don't wait". Make get_events() work like
> io_getevents().
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
>  libmultipath/checkers/directio.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Thank you.

Reviewed-by: Martin Wilck <mwilck at suse.com>






More information about the dm-devel mailing list