Ronnie Sahlberg <lsahlber@xxxxxxxxxx> 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@xxxxxxxxxx> > --- > 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@xxxxxx>