Re: [systemd-devel] [PATCH v2] automount: add expire support

2015-04-22 Thread Michael Olbrich
On Tue, Apr 21, 2015 at 08:45:30PM +0200, Lennart Poettering wrote: On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave this

Re: [systemd-devel] [PATCH v2] automount: add expire support

2015-04-21 Thread Lennart Poettering
On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave this superficial testing though, please check if this all still works fine for you now!

Re: [systemd-devel] [PATCH v2] automount: add expire support

2015-04-21 Thread Kay Sievers
On Tue, Apr 21, 2015 at 8:45 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 14.04.15 22:01, Michael Olbrich (m.olbr...@pengutronix.de) wrote: I added some more logging (so that automount_dispatch_expire() can never fail without this being logged) and applied it! I only gave

[systemd-devel] [PATCH v2] automount: add expire support

2015-04-14 Thread Michael Olbrich
--- Changes in v2: - addressed comments - check every MAX(a-timeout_idle_usec/10, USEC_PER_SEC) instead of every 5 seconds man/systemd.automount.xml | 8 ++ man/systemd.mount.xml | 9 ++ src/core/automount.c | 221