mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
Single messages sent over unix sockets are limited in size to /proc/sys/net/core/wmem_max, so send the 1MB debug buffer in smaller chunks to avoid EMSGSIZE. Also look for EAGAIN and retry sending for a limited time when the reader is slower than the writer. Also shift the location of that code so it's the same as other requests.