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

2020-02-19 Thread Martin Wilck
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

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

2020-02-18 Thread Benjamin Marzinski
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 --- libmultipath/checkers/directio.c | 10 +---