From: Trond Myklebust <trond.myklebust@primarydata.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH v2 0/4] Fix update_changeattr
Date: Thu, 12 Jan 2017 18:02:36 -0500 [thread overview]
Message-ID: <20170112230240.7730-1-trond.myklebust@primarydata.com> (raw)
Several of the calls to update_changeattr() are causing the directory
attribute cache to be flushed in cases where it simply isn't neccessary.
---
v2: add patch to update the directory attribute cache timestamp
Trond Myklebust (4):
NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file
was created
NFSv4: Don't apply change_info4 twice on rename within a directory
NFSv4: Don't call update_changeattr() unless the unlink is successful
NFSv4: update_changeattr should update the attribute timestamp
fs/nfs/nfs4proc.c | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
--
2.9.3
next reply other threads:[~2017-01-12 23:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 23:02 Trond Myklebust [this message]
2017-01-12 23:02 ` [PATCH v2 1/4] NFSv4: Call update_changeattr() from _nfs4_proc_open only if a file was created Trond Myklebust
2017-01-12 23:02 ` [PATCH v2 2/4] NFSv4: Don't apply change_info4 twice on rename within a directory Trond Myklebust
2017-01-12 23:02 ` [PATCH v2 3/4] NFSv4: Don't call update_changeattr() unless the unlink is successful Trond Myklebust
2017-01-12 23:02 ` [PATCH v2 4/4] NFSv4: update_changeattr should update the attribute timestamp 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=20170112230240.7730-1-trond.myklebust@primarydata.com \
--to=trond.myklebust@primarydata.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).