diff --git a/WHATS_NEW b/WHATS_NEW index 1d38a7360..a93a61b32 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.03.11 - ================================== + Support interruption for bcache waiting. Fix bcache when device has too many failing writes. Fix bcache waiting for IO completion with failing disks. Configure use own python path name order to prefer using python3. diff --git a/lib/device/bcache.c b/lib/device/bcache.c index 3fb6a0e80..d1749d9ab 100644 --- a/lib/device/bcache.c +++ b/lib/device/bcache.c @@ -325,9 +325,7 @@ static bool _async_wait(struct io_engine *ioe, io_complete_fn fn) struct async_engine *e = _to_async(ioe); memset(&event, 0, sizeof(event)); - do { - r = io_getevents(e->aio_context, 1, MAX_EVENT, event, NULL); - } while (r == -EINTR); + r = io_getevents(e->aio_context, 1, MAX_EVENT, event, NULL); if (r < 0) { log_sys_warn("io_getevents");