aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
diff options
context:
space:
mode:
authorWang Zhaolong <[email protected]>2025-03-31 13:33:13 +0000
committerSteve French <[email protected]>2025-04-01 02:12:31 +0000
commita091d9711bdee46a76fa14fad31cb261a6dad74a (patch)
treea707bc84e7f4807bca2ba77c765931e31899f73e /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
parentcifs: remove unreachable code in cifs_get_tcp_session() (diff)
downloadkernel-a091d9711bdee46a76fa14fad31cb261a6dad74a.tar.gz
kernel-a091d9711bdee46a76fa14fad31cb261a6dad74a.zip
smb:client: smb: client: Add reverse mapping from tcon to superblocks
Currently, when a SMB connection is reset and renegotiated with the server, there's no way to update all related mount points with new negotiated sizes. This is because while superblocks (cifs_sb_info) maintain references to tree connections (tcon) through tcon_link structures, there is no reverse mapping from a tcon back to all the superblocks using it. This patch adds a bidirectional relationship between tcon and cifs_sb_info structures by: 1. Adding a cifs_sb_list to tcon structure with appropriate locking 2. Adding tcon_sb_link to cifs_sb_info to join the list 3. Managing the list entries during mount and umount operations The bidirectional relationship enables future functionality to locate and update all superblocks connected to a specific tree connection, such as: - Updating negotiated parameters after reconnection - Efficiently notifying all affected mounts of capability changes This is the first part of a series to improve connection resilience by keeping all mount parameters in sync with server capabilities after reconnection. Signed-off-by: Wang Zhaolong <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions