mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmlockd: increase dump buffer size
This commit is contained in:
parent
e2f6af68c2
commit
7825d914e3
@ -38,7 +38,7 @@ static int stop_lockspaces = 0;
|
||||
static char *arg_vg_name = NULL;
|
||||
|
||||
#define DUMP_SOCKET_NAME "lvmlockd-dump.sock"
|
||||
#define DUMP_BUF_SIZE (1024 * 1024)
|
||||
#define DUMP_BUF_SIZE (4 * 1024 * 1024)
|
||||
static char dump_buf[DUMP_BUF_SIZE+1];
|
||||
static int dump_len;
|
||||
static struct sockaddr_un dump_addr;
|
||||
|
@ -155,7 +155,7 @@ static const char *adopt_file;
|
||||
* 1MB should fit all the info we need to dump.
|
||||
*/
|
||||
#define DUMP_SOCKET_NAME "lvmlockd-dump.sock"
|
||||
#define DUMP_BUF_SIZE (1024 * 1024)
|
||||
#define DUMP_BUF_SIZE (4 * 1024 * 1024)
|
||||
static char dump_buf[DUMP_BUF_SIZE];
|
||||
static struct sockaddr_un dump_addr;
|
||||
static socklen_t dump_addrlen;
|
||||
|
Loading…
Reference in New Issue
Block a user