udev: Increase udev monitor buffer size
authorINSUN PYO <insun.pyo@samsung.com>
Wed, 27 Sep 2017 05:20:59 +0000 (14:20 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Wed, 27 Sep 2017 05:21:15 +0000 (14:21 +0900)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I8c2b1e40ff79756febaa1168c67973e1ab7f9890

hw/udev.c

index 562725b..1f64b08 100644 (file)
--- a/hw/udev.c
+++ b/hw/udev.c
@@ -29,7 +29,7 @@
 #define EVENT_KERNEL       "kernel"
 #define EVENT_UDEV         "udev"
 
-#define UDEV_MONITOR_SIZE   (10*1024)
+#define UDEV_MONITOR_SIZE   (128*1024)
 
 struct uevent_info {
        struct udev_monitor *mon;
@@ -141,6 +141,7 @@ static int uevent_control_start(const char *type,
                goto stop;
        }
 
+       _I("Set udev monitor buffer size %d", UDEV_MONITOR_SIZE);
        ret = udev_monitor_set_receive_buffer_size(info->mon,
                        UDEV_MONITOR_SIZE);
        if (ret != 0) {