From: Paulo Alcantara <pc@cjr.nz>
To: Ronnie Sahlberg <lsahlber@redhat.com>,
linux-cifs <linux-cifs@vger.kernel.org>
Cc: Steve French <smfrench@gmail.com>
Subject: Re: [PATCH] cifs: cache dirent names for cached directories
Date: Tue, 03 May 2022 22:55:01 -0300 [thread overview]
Message-ID: <8735hq2hai.fsf@cjr.nz> (raw)
In-Reply-To: <20220504014407.2301906-2-lsahlber@redhat.com>
Ronnie Sahlberg <lsahlber@redhat.com> writes:
> Cache the names of entries for cached-directories while we have a lease held.
> This allows us to avoid expensive calls to the server when re-scanning
> a cached directory.
>
> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
> ---
> fs/cifs/cifsglob.h | 84 ++++++++++++++--------
> fs/cifs/misc.c | 2 +
> fs/cifs/readdir.c | 173 ++++++++++++++++++++++++++++++++++++++++++---
> fs/cifs/smb2ops.c | 18 ++++-
> 4 files changed, 236 insertions(+), 41 deletions(-)
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
next prev parent reply other threads:[~2022-05-04 1:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 1:44 cache dirent names for the cached directory while we hold a lease Ronnie Sahlberg
2022-05-04 1:44 ` [PATCH] cifs: cache dirent names for cached directories Ronnie Sahlberg
2022-05-04 1:55 ` Paulo Alcantara [this message]
2022-05-04 16:54 ` Enzo Matsumiya
2022-05-09 23:33 ` ronnie sahlberg
2022-05-10 0:01 ` ronnie sahlberg
2022-05-04 18:27 ` Enzo Matsumiya
2022-05-04 22:12 ` Leif Sahlberg
-- strict thread matches above, loose matches on Subject: below --
2022-05-03 7:09 Patch to add caching od directory entries for the cache dir Ronnie Sahlberg
2022-05-03 7:09 ` [PATCH] cifs: cache dirent names for cached directories Ronnie Sahlberg
2022-05-03 7:19 ` Steve French
2022-05-03 23:55 ` Paulo Alcantara
2022-05-04 1:44 ` ronnie sahlberg
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=8735hq2hai.fsf@cjr.nz \
--to=pc@cjr.nz \
--cc=linux-cifs@vger.kernel.org \
--cc=lsahlber@redhat.com \
--cc=smfrench@gmail.com \
/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.