On Fri, May 03, 2019 at 10:28:19AM +0200, Romain Izard wrote: > + do { > + err = ioctl(dev_fd, LOOP_SET_STATUS64, &lc->info); > + } while (err && errno == EAGAIN); Would be better to use any delay in the loop? For example after EAGAIN read/write we use usleep(250000). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com