smb3: optimize open to not send query file internal info
authorSteve French <stfrench@microsoft.com>
Thu, 18 Jul 2019 22:22:18 +0000 (17:22 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 18 Jul 2019 22:44:13 +0000 (17:44 -0500)
commit89a5bfa350faf87156acda4d7c457808bfecaa0e
tree9560165181bb65a6966bd21681ea9b777517447c
parentbf3c90ee1efe4dd3417d2129f9f6c68a4c76de00
smb3: optimize open to not send query file internal info

We can cut one third of the traffic on open by not querying the
inode number explicitly via SMB3 query_info since it is now
returned on open in the qfid context.

This is better in multiple ways, and
speeds up file open about 10% (more if network is slow).

Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2file.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/smb2proto.h