mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
1fae121b22
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.