Re: [PATCH] Bug 3150: do not start useless unlinkd.

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Sat, 08 Oct 2011 21:25:53 +0200

fre 2011-10-07 klockan 11:50 +0400 skrev Dmitry Kurochkin:

> I did not know that -N was used for anything but testing and debugging.
> Perhaps we should also use diskers in -N mode?

-N is not only a debugging flag. It's used in production in many setups
where a usable system monitor keeps track of the process. It's "Do not
daemonize", functionality should otherwise be the same.

> (Though, neither Mac OS X nor Debian (by default) use upstart. Ubuntu
> does.)

And fedora uses systemd.

> We should add mayUseUnlinkd() method to DiskIOStrategy. But only UFS
> SwapDir would relay answer from it. Other store modules do not need
> unlinkd even if the underlying IO strategy may use it. Do you agree?

Or perhaps simply start it on first use, similar to how we runtime add
more helpers of other types when needed?

Regards
Henrik
Received on Sat Oct 08 2011 - 19:25:56 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 10 2011 - 12:00:06 MDT