All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Steve Dickson <steved@redhat.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH] rpc.idmapd: Ignore open failures in dirscancb()
Date: Wed, 16 Jan 2013 15:40:41 -0500	[thread overview]
Message-ID: <50F71049.9050905@RedHat.com> (raw)
In-Reply-To: <1357152473-4260-1-git-send-email-steved@redhat.com>



On 02/01/13 13:47, Steve Dickson wrote:
> From: David Jeffery <djeffery@redhat.com>
> 
> The daemon "rpc.idmapd" scans the /var/lib/nfs/rpc_pipefs/nfs/ directory
> periodically looking for NFS client mounts to communicate to. The daemon
> tried to open communication with a client mount but it disappeared in
> between looking for directory entries and opening them. NFS mount was
> umounted just before rpc.idmapd tried to communicate with it. This
> behavior is usually seen when autofs is configured on the system.
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed... 

steved.

> ---
>  utils/idmapd/idmapd.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c
> index 9d66225..beba9c4 100644
> --- a/utils/idmapd/idmapd.c
> +++ b/utils/idmapd/idmapd.c
> @@ -424,7 +424,8 @@ dirscancb(int UNUSED(fd), short UNUSED(which), void *data)
>  			    pipefsdir, ents[i]->d_name);
>  
>  			if ((ic->ic_dirfd = open(path, O_RDONLY, 0)) == -1) {
> -				xlog_warn("dirscancb: open(%s): %s", path, strerror(errno));
> +				if (verbose > 0)
> +					xlog_warn("dirscancb: open(%s): %s", path, strerror(errno));
>  				free(ic);
>  				goto out;
>  			}
> 

      reply	other threads:[~2013-01-16 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 18:47 [PATCH] rpc.idmapd: Ignore open failures in dirscancb() Steve Dickson
2013-01-16 20:40 ` Steve Dickson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F71049.9050905@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.