cifs: add compounding support for smb2+
Status from this message: merged into cifs-2.6.git for-next and added cc:stable
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | cifs: remove rfc1002 header from all SMB2 response structuresfs/ fs/ fs/ +11 more | +277 | 0 replies | |
| 2/14 | cifs: update multiplex loop to handle compounded responsesfs/ fs/ fs/ +1 more | +45 | 0 replies | |
| 3/14 | cifs: push rfc1002 generation down the stackfs/ fs/ fs/ +2 more | +85 | 0 replies | |
| 4/14 | cifs: remove smb2_send_recv()fs/ fs/ fs/ | +116 | 0 replies | |
| 5/14 | cifs: update __smb_send_rqst() to take an array of requestsfs/ fs/ fs/ +1 more | +63 | 0 replies | |
| 6/14 | cifs: make smb_send_rqst() take an array of requestsfs/ fs/ fs/ | +38 | 0 replies | |
| 7/14 | cifs: update init_sg and crypt_message to take an array of rqstfs/ | +30 | 0 replies | |
| 8/14 | cifs: update smb3_init_transform_rq to take an array of requestsfs/ | +67 | 0 replies | |
| 9/14 | cifs: add compound_send_recv()fs/ fs/ | +82 | 0 replies | |
| 10/14 | cifs: fix memory leak in SMB2_open()fs/ | +6 | 1 reply | |
| 11/14 | cifs: create SMB2_open_init()/SMB2_open_free() helpers.fs/ fs/ | +73 | 0 replies | |
| 12/14 | cifs: add SMB2_close_init()/SMB2_close_free()fs/ fs/ | +37 | 0 replies | |
| 13/14 | cifs: add SMB2_query_info_[init|free]()fs/ fs/ | +52 | 0 replies | |
| 14/14 | cifs: update smb2_queryfs() to use compoundingfs/ fs/ fs/ +3 more | +140 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] cifs: add compounding support for smb2+
Steve, all,
Please find attached a series that adds the plumbing to do compounding as well as, the last patch, changing smb2_queryfs() to use a compound for the Create/Query/Close cycle.
There is still a small bug in SMB2_read() when using SMB3 encryption in that we get the wrong buffer (offset by 4) for the data, but I will look into that.
As the series is somewhat large, that does not preclude us from starting to review.
Basic manual testing looks promising so far.
The only operation so far that will use compounding is smb2_queryfs() so far. You can use 'df' to invoke this operation if you want to look at what the PDUs for compounding looks like on the wire.
Once we get this finished and ready to merge, we can move on and convert all other create/set|query/close operations to be compounded too. that should be very easy.
Wooohooo