This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ #14906: Enhance nscd's inotify support.
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at redhat dot com>
- Date: Thu, 2 Jun 2016 20:27:48 -0400
- Subject: Re: [PATCH] BZ #14906: Enhance nscd's inotify support.
- Authentication-results: sourceware.org; auth=none
- References: <54E42FA6 dot 8010500 at redhat dot com> <54E60723 dot 6000309 at redhat dot com> <mvmh9ddw6fr dot fsf at hawking dot suse dot de>
On 06/01/2016 06:26 AM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
>
>> + dbg_log (_("monitored file `%s` changed (mtime)"),
>> + runp->fname);
>
>> + dbg_log (_("monitoring file `%s` (%d)"),
>> + finfo->fname, finfo->inotify_descr[TRACED_FILE]);
>
>> + dbg_log (_("monitoring directory `%s` (%d)"),
>> + finfo->dname, finfo->inotify_descr[TRACED_DIR]);
>
>> + dbg_log (_("ignored out of order inotify event for `%s`"),
>> + finfo->fname);
>
>> + dbg_log (_("monitored file `%s` was %s, removing watch"),
>> + finfo->fname, moved ? "moved" : "deleted");
>
>> + dbg_log (_("monitored file `%s` was written to"), finfo->fname);
>
>> + dbg_log (_("monitored parent directory `%s` was %s, removing watch on `%s`"),
>> + finfo->dname, moved ? "moved" : "deleted", finfo->fname);
>
>> + dbg_log (_("monitored file `%s` was %s, adding watch"),
>> + finfo->fname,
>> + inev->i.mask & IN_CREATE ? "created" : "moved into place");
>
> Are these messages supposed to be unconditional?
Yes.
They only trigger if you're changing monitored files, which
should be a relatively rare use case.
Are you seeing a lot of noise for some of those messages?
Which ones?
--
Cheers,
Carlos.