All of lore.kernel.org
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Zygo Blaxell <zblaxell@furryterror.org>, Duncan <1i5t5.duncan@cox.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: strange 3.16.3 problem
Date: Mon, 20 Oct 2014 09:19:36 -0400	[thread overview]
Message-ID: <54450BE8.6000904@gmail.com> (raw)
In-Reply-To: <20141020130243.GB29401@hungrycats.org>

[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]

On 2014-10-20 09:02, Zygo Blaxell wrote:
> On Mon, Oct 20, 2014 at 04:38:28AM +0000, Duncan wrote:
>> Russell Coker posted on Sat, 18 Oct 2014 14:54:19 +1100 as excerpted:
>>
>>> # find . -name "*546"
>>> ./1412233213.M638209P10546 # ls -l ./1412233213.M638209P10546 ls: cannot
>>> access ./1412233213.M638209P10546: No such file or directory
>>
>> Does your mail server do a lot of renames?  Is one perhaps stuck?  If so,
>> that sounds like the same thing "Zygo Blaxell" is reporting in the
>> "3.16.3..3.17.1 hang in renameat2()" thread, OP on Sun, 19 Oct 2014
>> 15:25:26 -400, Msg-ID: <20141019192525.GA29401@hungrycats.org>, as linked
>> here:
>>
>> <http://permalink.gmane.org/gmane.comp.file-systems.btrfs/39539>
>>
>> I pointed him at this thread too.  I hadn't seen you mention a hung
>> rename, but the other symptoms sound similar.
>
> Not really.  It looks like Russell having a NFS client-side problem,
> I'm having a server-side one (maybe).  Also, all Russell's system calls
> seem to be returning promptly, while some of mine are not.  Even if
> there were timeouts, an NFS server timeout gives a different error than
> 'No such file or directory'.  Finally, the one and only thing I _can_
> do with my bug is 'ls' on the renamed files (for me, the find would get
> stuck before returning any output).
>
> For Russell's issue...most of the stuff I can think of has been
> tried already.  I didn't see if there was any attempt try to ls the
> file from the NFS server as well as the client side.  If ls is OK on
> the server but not the client, it's an NFS issue (possibly interacting
> with some btrfs-specific quirk); otherwise, it's likely a corrupted
> filesystem (mail servers seem to be unusually good at making these).
>
> Most of the I/O time on mail servers tends to land in the fsync() system
> call, and some nasty fsync() btrfs bugs were fixed in 3.17 (i.e. after
> 3.16, and not in the 3.16.x stable update for x <= 5 (the last one
> I've checked)).  That said, I'm not familiar with how fsync() translates
> over NFS, so it might not be relevant after all.
>
> If the NFS server's view of the filesystem is OK, check the NFS protocol
> version from /proc/mounts on the client.  Sometimes NFS clients will
> get some transient network error during connection and fall back to some
> earlier (and potentially buggier) NFS version.  I've seen very different
> behavior in some important corner cases from v4 and v3 clients, for
> example, and if the client is falling all the way back to v2 the bugs
> and their workarounds start to get just plain _weird_ (e.g. filenames
> which produce specific values from some hash function or that contain
> specific character sequences are unusable).  v2 is so old it may even
> have issues with 64-bit inode numbers.
>
Just now saw this thread, but IIRC 'No such file or directory' also gets 
returned sometimes when trying to automount a share that can't be 
enumerated by the client, and also sometimes when there is a stale NFS 
file handle.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]

  reply	other threads:[~2014-10-20 13:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  3:54 strange 3.16.3 problem Russell Coker
     [not found] ` <CAHGunUkzXZ-ybUR_y3tHzGwtn_45gq8YQJyEqteBX3zqWzUakA@mail.gmail.com>
2014-10-18 10:29   ` Russell Coker
2014-10-18 13:33 ` Robert White
2014-10-18 23:41   ` Russell Coker
2014-10-19  5:37     ` Duncan
2014-10-19 10:19       ` Duncan
2014-10-20 17:37     ` Robert White
2014-10-20 20:21       ` Goffredo Baroncelli
2014-10-21  9:50         ` Duncan
2014-10-21 10:16           ` inode_cache " Roman Mamedov
2014-10-21 12:08             ` Duncan
2014-10-21 16:40           ` Goffredo Baroncelli
2014-10-22  7:12             ` Duncan
2014-10-19 10:46 ` Chris Samuel
2014-10-20  4:38 ` Duncan
2014-10-20 13:02   ` Zygo Blaxell
2014-10-20 13:19     ` Austin S Hemmelgarn [this message]
2014-10-21 10:13     ` Russell Coker
2014-10-21 10:42       ` Russell Coker
2014-10-21 15:23         ` strange 3.16.3 problem (er... never mind 8-) Robert White
2014-10-21 12:25       ` strange 3.16.3 problem Duncan
2014-10-21 15:10       ` Robert White

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=54450BE8.6000904@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=zblaxell@furryterror.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.