Make IPC a regular tcon and fix SMB2 domain-based DFS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 3 repliesIn review
- v22 patches 2 repliesSuperseded
- v13 patches 5 repliesSuperseded
Changes in v3 from the cover letter
* rebased against Steve's for-next
* mark IPC tcon for reconnection like other tcons
* dump IPC tcon in /proc DebugData
* pass IPC tcon instead of NULL to smb_init() in CIFSGetDFSRefer() so that it reconnect it if needed
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | CIFS: make IPC a regular tconfs/ fs/ fs/ +2 more | +133 | 1 reply | |
| 2/3 | CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctlfs/ fs/ fs/ +1 more | +25 | 1 reply | |
| 3/3 | CIFS: dump IPC tcon in debug proc filefs/ | +35 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Pavel Shilovsky |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] Make IPC a regular tcon and fix SMB2 domain-based DFS
changes since v2:
* rebased against Steve's for-next
* mark IPC tcon for reconnection like other tcons
* dump IPC tcon in /proc DebugData
* pass IPC tcon instead of NULL to smb_init() in CIFSGetDFSRefer() so that it reconnect it if needed
passes make C=1, checkpatch.pl, and reconnection works in these cases (domain-based DFS with Windows Server 2016):
| test | v1.0 | v3.0 | |---------------------------+------+------| | mount root, reco, cd link | ok | ok | | mount link, reco, ls | ok | ok |
changes since v1:
* squashed definition change of SERVER_NAME_LENGTH in first patch
* ipc tcon no longer added the the session tcon list
* ipc tcon no longer protected by spinlock
* decrement tcon refcount only if it was incremented earlier (ie not an ipc tcon) in smb2_get_dfs_refer()
Aurelien Aptel (3):
CIFS: make IPC a regular tcon
CIFS: use tcon_ipc instead of use_ipc parameter of SMB2_ioctl
CIFS: dump IPC tcon in debug proc file
fs/cifs/cifs_debug.c | 61 ++++++++++++--------- fs/cifs/cifsglob.h | 14 ++--- fs/cifs/cifssmb.c | 7 +-- fs/cifs/connect.c | 150 ++++++++++++++++++++++++++++++++++++++------------- fs/cifs/inode.c | 2 +- fs/cifs/smb2file.c | 2 +- fs/cifs/smb2ops.c | 53 ++++++++---------- fs/cifs/smb2pdu.c | 40 ++++---------- fs/cifs/smb2proto.h | 3 +- 9 files changed, 193 insertions(+), 139 deletions(-)
Signature · 1 line
2.12.3