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

From: Dmitry Kurochkin <dmitry.kurochkin_at_measurement-factory.com>
Date: Sun, 09 Oct 2011 04:13:47 +0400

Hi Henrik.

On Sat, 08 Oct 2011 21:25:53 +0200, Henrik Nordström <henrik_at_henriknordstrom.net> wrote:
> 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?
>

I do not know about other helpers. But the concern here is to avoid
(potentially) expensive unlinkd startup at runtime.

Regards,
  Dmitry

> Regards
> Henrik
>
Received on Sun Oct 09 2011 - 00:14:07 MDT

This archive was generated by hypermail 2.2.0 : Sun Oct 09 2011 - 12:00:14 MDT