log_enqueue frequently overruns log_area
Benjamin Marzinski
maintainerAfter seeing multipathd not logging what I was expecting it to, I checked to see if it was ever dropping messages, and it was. In fact, I get dropped messages on start up most of the time. The attached patch, against multipath-tools-0.4.4-pre16, doubles the default logarea size. At that size, I haven't seen any dropped messages. I'm not sure that this is the right size, but it definitely works better for me.
-Ben
multipathd/log.h +1 -1
@@ -1,7 +1,7 @@#ifndef LOG_H #define LOG_H -#define DEFAULT_AREA_SIZE 2048 +#define DEFAULT_AREA_SIZE 4096#define MAX_MSG_SIZE 128#ifndef LOGLEVEL
Yes, sure, it was set low for testing purpose and can now be bumped up.
Merged, with thanks.
Regards,
Quoted 12 lines · Benjamin Marzinski
After seeing multipathd not logging what I was expecting it to, I checked to see if it was ever dropping messages, and it was. In fact, I get dropped messages on start up most of the time. The attached patch, against multipath-tools-0.4.4-pre16, doubles the default logarea size. At that size, I haven't seen any dropped messages. I'm not sure that this is the right size, but it definitely works better for me.
-Ben
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Signature · 1 line
christophe varoqui <[email protected]>