From: Thiago Rafael Becker <trbecker@gmail.com>
To: "Aurélien Aptel" <aaptel@suse.com>
Cc: linux-cifs@vger.kernel.org, sfrench@samba.org,
samba-technical@lists.samba.org, tbecker@redhat.com,
jshivers@redhat.com
Subject: Re: [RFC PATCH] cifs: retry lookup and readdir when EAGAIN is returned.
Date: Mon, 7 Jun 2021 12:27:40 -0300 [thread overview]
Message-ID: <YL467HEHQoTR2eEC@nyarly.rlyeh.local> (raw)
In-Reply-To: <YL4lsBT8Amy4Nh87@nyarly.rlyeh.local>
The following capture for a run of ls after running close-smbsession on
windows and clearing the caches on the linux client running the upstream
kernel.
1 0.000000 client → server SMB2 410 Create Request File: dir;GetInfo Request FILE_INFO/SMB2_FILE_ALL_INFO;Close Request
2 0.004586 server → client SMB2 274 Create Response, Error: STATUS_USER_SESSION_DELETED;GetInfo Response, Error: STATUS_INVALID_PARAMETER;Close Response, Error: STATUS_INVALID_PARAMETER
9 0.024997 client → server SMB2 290 Negotiate Protocol Request
10 0.033179 server → client SMB2 566 Negotiate Protocol Response
12 0.033578 client → server SMB2 178 Session Setup Request, NTLMSSP_NEGOTIATE
13 0.041297 server → client SMB2 368 Session Setup Response, Error: STATUS_MORE_PROCESSING_REQUIRED, NTLMSSP_CHALLENGE
15 0.041792 client → server SMB2 434 Session Setup Request, NTLMSSP_AUTH, User: \user
16 0.047307 server → client SMB2 130 Session Setup Response
18 0.047832 client → server SMB2 174 Tree Connect Request Tree: \\server\root
19 0.057075 server → client SMB2 138 Tree Connect Response
20 0.057586 client → server SMB2 172 Tree Connect Request Tree: \\server\IPC$
21 0.062169 server → client SMB2 138 Tree Connect Response
22 0.062273 client → server SMB2 410 Create Request File: dir;GetInfo Request FILE_INFO/SMB2_FILE_ALL_INFO;Close Request
23 0.069050 server → client SMB2 570 Create Response File: dir;GetInfo Response;Close Response
24 0.069943 client → server SMB2 316 Create Request File: dir;Find Request SMB2_FIND_ID_FULL_DIRECTORY_INFO Pattern: *
25 0.079125 server → client SMB2 3842 Create Response File: dir;Find Response SMB2_FIND_ID_FULL_DIRECTORY_INFO Pattern: *
27 0.081926 client → server SMB2 156 Find Request File: dir SMB2_FIND_ID_FULL_DIRECTORY_INFO Pattern: *
28 0.093209 server → client SMB2 130 Find Response, Error: STATUS_NO_MORE_FILES SMB2_FIND_ID_FULL_DIRECTORY_INFO Pattern: *
29 0.093743 client → server SMB2 146 Close Request File: dir
30 0.099034 server → client SMB2 182 Close Response
Similar pattern for stat.
Best,
Thiago
prev parent reply other threads:[~2021-06-07 15:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-04 17:41 [RFC PATCH] cifs: retry lookup and readdir when EAGAIN is returned Thiago Rafael Becker
2021-06-07 9:32 ` Aurélien Aptel
2021-06-07 13:57 ` Thiago Rafael Becker
2021-06-07 15:27 ` Thiago Rafael Becker [this message]
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=YL467HEHQoTR2eEC@nyarly.rlyeh.local \
--to=trbecker@gmail.com \
--cc=aaptel@suse.com \
--cc=jshivers@redhat.com \
--cc=linux-cifs@vger.kernel.org \
--cc=samba-technical@lists.samba.org \
--cc=sfrench@samba.org \
--cc=tbecker@redhat.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 NNTP newsgroup(s).