cifs: add a smb2_compound_op and change QUERY_INFO to use it

This turns most open/query-info/close patterns in cifs.ko
to become compounds.

This changes stat from using 3 roundtrips to just a single one.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Ronnie Sahlberg 2018-09-03 13:33:41 +10:00 • committed by Steve French
commit c5a5f38f07
4 changed files with 136 additions and 22 deletions