[systemd-commits] 2 commits - src/device.c TODO

Kay Sievers kay at kemper.freedesktop.org
Fri Nov 26 07:42:39 PST 2010


 TODO         |    2 ++
 src/device.c |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 0c8744ccde16e0c55ab76c19ce788fe7655a407c
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Fri Nov 26 16:08:35 2010 +0100

    update TODO

diff --git a/TODO b/TODO
index fa4f05c..098beb5 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+* test and adjust rate limiter. triggers with scsi_debug
+
 * bind mounts with 'fsck' fail and block for a minute:
     /foo /bar none bind 1 1
   (using fsck is wrong, but why do we block for a minute

commit 2e6081f2ff69d61b8b7bedbacf3a8de60de2b0b6
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Fri Nov 26 16:06:30 2010 +0100

    udev: make sure we aleways read from netlink, if there is data

diff --git a/src/device.c b/src/device.c
index b576364..957bc2d 100644
--- a/src/device.c
+++ b/src/device.c
@@ -533,7 +533,8 @@ void device_fd_event(Manager *m, int events) {
 
                 if (!ratelimit_test(&limit))
                         log_error("Failed to get udev event: %m");
-                return;
+                if (!(events & EPOLLIN))
+                        return;
         }
 
         if (!(dev = udev_monitor_receive_device(m->udev_monitor))) {



More information about the systemd-commits mailing list