diff options
| author | Steve French <[email protected]> | 2016-09-22 23:58:16 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2016-10-12 17:08:32 +0000 |
| commit | 3afca265b5f53a0b15b79531c13858049505582d (patch) | |
| tree | ac9c7c97ee38fb4c156731643120833c5e53f63c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Fix regression which breaks DFS mounting (diff) | |
| download | kernel-3afca265b5f53a0b15b79531c13858049505582d.tar.gz kernel-3afca265b5f53a0b15b79531c13858049505582d.zip | |
Clarify locking of cifs file and tcon structures and make more granular
Remove the global file_list_lock to simplify cifs/smb3 locking and
have spinlocks that more closely match the information they are
protecting.
Add new tcon->open_file_lock and file->file_info_lock spinlocks.
Locks continue to follow a heirachy,
cifs_socket --> cifs_ses --> cifs_tcon --> cifs_file
where global tcp_ses_lock still protects socket and cifs_ses, while the
the newer locks protect the lower level structure's information
(tcon and cifs_file respectively).
CC: Stable <[email protected]>
Signed-off-by: Steve French <[email protected]>
Signed-off-by: Pavel Shilovsky <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Reviewed-by: Germano Percossi <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
