Linux NFS development
 help / color / mirror / Atom feed
From: Sagi Grimberg <sagi@grimberg.me>
To: Jeff Layton <jlayton@kernel.org>, linux-nfs@vger.kernel.org
Cc: Trond Myklebust <trondmy@kernel.org>,
	Anna Schumaker <Anna.Schumaker@netapp.com>,
	Thomas Haynes <loghyr@gmail.com>
Subject: Re: [PATCH] NFSv4.2: fix setattr caching of TIME_[MODIFY|ACCESS]_SET when timestamps are delegated
Date: Tue, 6 May 2025 17:25:01 +0300	[thread overview]
Message-ID: <44220569-ce61-4bc9-ab38-e2116e7b5da6@grimberg.me> (raw)
In-Reply-To: <6843f5bd39e7a9237c44c4b8e0099bb234b3a732.camel@kernel.org>


>>>>    
>>> FWIW, we've been chasing some problems with the git regression
>>> testsuite when attribute delegation is enabled. It would be interesting
>>> to test this patch to see if it changes that behavior.
>> Can you elaborate? didn't notice that git uses the times ATTR_*_SET
>> variant too often.
>>
> Unfortunately, not much.
>
> If you turn on attribute delegation, and then run the git regression
> suite in a highly-threaded configuration, some of the tests fail. I've
> made a couple of stabs at trying to narrow down a the reproducer, but
> no luck so far.
>
> My guess is that it's a client-side bug:
>
> The server is fairly simple here -- if there is an outstanding
> delegation, it asks the delegation holder for attributes via CB_GETATTR
> and then passes those along to the client.
>
> The client however has traditionally relied on the server to provide
> updated attributes, rather than handling timestamps itself, and it
> wouldn't surprise me if it just didn't get all of those places right.

It's running, not failing yet... Which test cases fail?

>
> FWIW, I did try your patch with that test and it didn't help.


  reply	other threads:[~2025-05-06 14:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-25 12:49 [PATCH] NFSv4.2: fix setattr caching of TIME_[MODIFY|ACCESS]_SET when timestamps are delegated Sagi Grimberg
2025-05-04  6:45 ` Sagi Grimberg
2025-05-05 13:23 ` Jeff Layton
2025-05-06 13:43   ` Sagi Grimberg
2025-05-06 13:52     ` Jeff Layton
2025-05-06 14:25       ` Sagi Grimberg [this message]
2025-05-06 14:29         ` Jeff Layton
2025-05-05 13:25 ` Chuck Lever
2025-05-06 13:45   ` Sagi Grimberg
2025-05-06 15:58 ` Trond Myklebust

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=44220569-ce61-4bc9-ab38-e2116e7b5da6@grimberg.me \
    --to=sagi@grimberg.me \
    --cc=Anna.Schumaker@netapp.com \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=loghyr@gmail.com \
    --cc=trondmy@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox