After done some testing, I found a bug in the patch. If more requests were pushed while we release the lock, num_requests could not be set to zero.
Here is a fixed version. -- Best regards, Maxim Orlov.
v2-0001-AbsorbSyncRequests-incrementally-instead-of-doing.patch
Description: Binary data