From: Enzo Matsumiya <ematsumiya@suse.de>
To: linux-cifs@vger.kernel.org
Cc: smfrench@gmail.com, pc@manguebit.com, ronniesahlberg@gmail.com,
sprasad@microsoft.com, tom@talpey.com, bharathsm@microsoft.com,
henrique.carvalho@suse.com
Subject: [PATCH v2 00/20] cached dir fixes and improvements
Date: Tue, 7 Oct 2025 14:42:44 -0300 [thread overview]
Message-ID: <20251007174304.1755251-1-ematsumiya@suse.de> (raw)
Hi,
Sending v2 of this series. Please refer to v1 cover letter for details.
Cheers,
Enzo
v1 -> v2:
- rebased on mainline (previously based on cifs/for-next)
- already includes the fixes sent individually for patches 12 and 19
- fixed issues reported by kernel test robot for patches 13, 16, 19
- ran smatch locally with whole series applied (all good)
Enzo Matsumiya (20):
smb: client: remove cfids_invalidation_worker
smb: client: remove cached_dir_offload_close/close_work
smb: client: remove cached_dir_put_work/put_work
smb: client: remove cached_fids->dying list
smb: client: remove cached_fid->on_list
smb: client: merge {close,invalidate}_all_cached_dirs()
smb: client: merge free_cached_dir in release callback
smb: client: split find_or_create_cached_dir()
smb: client: enhance cached dir lookups
smb: client: refactor dropping cached dirs
smb: client: simplify cached_fid state checking
smb: client: prevent lease breaks of cached parents when opening
children
smb: client: actually use cached dirs on readdir
smb: client: wait for concurrent caching of dirents in cifs_readdir()
smb: client: remove cached_dirent->fattr
smb: client: add is_dir argument to query_path_info
smb: client: use cached dir on queryfs/smb2_compound_op
smb: client: skip dentry revalidation of cached root
smb: client: rework cached dirs synchronization
smb: client: cleanup open_cached_dir()
fs/smb/client/cached_dir.c | 985 +++++++++++++++++--------------------
fs/smb/client/cached_dir.h | 81 +--
fs/smb/client/cifs_debug.c | 8 +-
fs/smb/client/cifsfs.c | 4 +-
fs/smb/client/cifsglob.h | 5 +-
fs/smb/client/dir.c | 64 +--
fs/smb/client/file.c | 2 +-
fs/smb/client/inode.c | 35 +-
fs/smb/client/misc.c | 9 +-
fs/smb/client/readdir.c | 147 +++---
fs/smb/client/smb1ops.c | 6 +-
fs/smb/client/smb2inode.c | 57 ++-
fs/smb/client/smb2misc.c | 2 +-
fs/smb/client/smb2ops.c | 44 +-
fs/smb/client/smb2pdu.c | 76 ++-
fs/smb/client/smb2proto.h | 10 +-
16 files changed, 777 insertions(+), 758 deletions(-)
--
2.51.0
next reply other threads:[~2025-10-07 17:43 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 17:42 Enzo Matsumiya [this message]
2025-10-07 17:42 ` [PATCH v2 01/20] smb: client: remove cfids_invalidation_worker Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 02/20] smb: client: remove cached_dir_offload_close/close_work Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 03/20] smb: client: remove cached_dir_put_work/put_work Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 04/20] smb: client: remove cached_fids->dying list Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 05/20] smb: client: remove cached_fid->on_list Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 06/20] smb: client: merge {close,invalidate}_all_cached_dirs() Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 07/20] smb: client: merge free_cached_dir in release callback Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 08/20] smb: client: split find_or_create_cached_dir() Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 09/20] smb: client: enhance cached dir lookups Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 10/20] smb: client: refactor dropping cached dirs Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 11/20] smb: client: simplify cached_fid state checking Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 12/20] smb: client: prevent lease breaks of cached parents when opening children Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 13/20] smb: client: actually use cached dirs on readdir Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 14/20] smb: client: wait for concurrent caching of dirents in cifs_readdir() Enzo Matsumiya
2025-10-07 17:42 ` [PATCH v2 15/20] smb: client: remove cached_dirent->fattr Enzo Matsumiya
2025-10-24 9:26 ` Bharath SM
2025-10-07 17:43 ` [PATCH v2 16/20] smb: client: add is_dir argument to query_path_info Enzo Matsumiya
2025-10-07 17:43 ` [PATCH v2 17/20] smb: client: use cached dir on queryfs/smb2_compound_op Enzo Matsumiya
2025-10-07 17:43 ` [PATCH v2 18/20] smb: client: skip dentry revalidation of cached root Enzo Matsumiya
2025-10-07 17:43 ` [PATCH v2 19/20] smb: client: rework cached dirs synchronization Enzo Matsumiya
2025-10-07 17:43 ` [PATCH v2 20/20] smb: client: cleanup open_cached_dir() Enzo Matsumiya
2025-10-16 12:42 ` [PATCH v2 00/20] cached dir fixes and improvements Enzo Matsumiya
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=20251007174304.1755251-1-ematsumiya@suse.de \
--to=ematsumiya@suse.de \
--cc=bharathsm@microsoft.com \
--cc=henrique.carvalho@suse.com \
--cc=linux-cifs@vger.kernel.org \
--cc=pc@manguebit.com \
--cc=ronniesahlberg@gmail.com \
--cc=smfrench@gmail.com \
--cc=sprasad@microsoft.com \
--cc=tom@talpey.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).