Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: should we propagate SMB error codes further?
Date: Wed, 20 Nov 2013 00:13:34 -0800	[thread overview]
Message-ID: <20131120081334.GA21566@infradead.org> (raw)

I'm seeing same interesting errors running against a server from a big
NAS vendor that shall remain unnamed:

p224160.955651] CIFS VFS: Unexpected lookup error -5
[224161.298853] CIFS VFS: Unexpected lookup error -5
[224161.643559] CIFS VFS: Unexpected lookup error -5
[224161.992309] CIFS VFS: Unexpected lookup error -5
[224162.333310] CIFS VFS: Unexpected lookup error -5
[224162.677982] CIFS VFS: Unexpected lookup error -5

Unfortunately it seems like a EIO is the catchall for unknown SMB
errors, so trying to debug this seems a bit hard.  Should we maybe look
into propagating the SMB error codes further up the chain inside the
cifs driver instead of converting them at a fairly low level?

             reply	other threads:[~2013-11-20  8:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20  8:13 Christoph Hellwig [this message]
     [not found] ` <20131120081334.GA21566-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2013-11-20  8:22   ` should we propagate SMB error codes further? Volker Lendecke
2013-11-20 11:26   ` Jeff Layton
     [not found]     ` <20131120062619.312adee4-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-11-21 18:35       ` Steve French
2013-11-21 18:29   ` Steve French

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=20131120081334.GA21566@infradead.org \
    --to=hch-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox