On 08/12/2017 08:26 PM, angelomariafederichini191269 wrote: > Attached you find a patch which enhances the loop to use bulk read > operations instead of single byte ones. I added slightly modified version to the master branch (there was a code shuffle so the function is moved to libcryptsetup internally). Anyway, I added handling of -EINTR for read() and code will retry instead of failing in this case - we have already wrapper read_buffer for that. I will probably backport this later for stable 1.7.6. Thanks, Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt