Shyam Prasad N
88675b22d3
cifs: do not search for channel if server is terminating
...
In order to scale down the channels, the following sequence
of operations happen:
1. server struct is marked for terminate
2. the channel is deallocated in the ses->chans array
3. at a later point the cifsd thread actually terminates the server
Between 2 and 3, there can be calls to find the channel for
a server struct. When that happens, there can be an ugly warning
that's logged. But this is expected.
So this change does two things:
1. in cifs_ses_get_chan_index, if server->terminate is set, return
2. always make sure server->terminate is set with chan_lock held
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-02-01 12:12:17 -06:00
..
2024-01-04 13:15:31 +00:00
2023-12-29 11:58:33 -08:00
2023-12-21 12:51:02 -05:00
2024-01-22 22:30:38 +00:00
2024-01-11 20:11:35 -08:00
2024-01-25 20:02:11 -05:00
2023-12-21 12:51:02 -05:00
2024-01-11 20:23:50 -08:00
2024-01-22 15:39:01 -08:00
2024-01-22 22:25:15 +00:00
2024-01-19 09:58:55 -08:00
2024-01-11 20:11:35 -08:00
2023-10-30 09:47:13 -10:00
2023-12-26 22:55:42 -06:00
2024-01-04 13:19:40 +01:00
2023-12-28 04:57:57 -08:00
2023-12-20 15:36:48 -06:00
2024-01-11 20:00:22 -08:00
2023-12-11 11:19:18 +01:00
2023-11-07 12:11:26 -08:00
2024-01-19 09:10:23 -08:00
2024-01-08 21:57:22 +09:00
2023-10-28 16:16:19 +02:00
2024-01-11 20:00:22 -08:00
2024-01-11 20:23:50 -08:00
2024-01-12 18:55:09 -08:00
2023-11-07 12:11:26 -08:00
2023-12-20 15:02:58 -08:00
2024-01-08 11:11:51 -08:00
2024-01-10 10:17:23 -08:00
2023-12-29 11:58:34 -08:00
2024-01-09 11:18:47 -08:00
2023-12-21 12:51:00 -05:00
2024-01-09 11:18:47 -08:00
2023-12-10 16:51:36 -08:00
2024-01-04 23:42:21 -05:00
2023-12-10 17:21:43 -08:00
2024-01-02 11:06:52 -06:00
2024-01-11 11:51:27 +01:00
2024-01-10 17:44:36 -08:00
2024-01-11 19:54:18 -08:00
2024-01-22 21:58:35 +00:00
2024-01-19 09:10:23 -08:00
2024-01-25 10:26:52 -08:00
2024-01-11 20:23:50 -08:00
2024-01-11 20:11:35 -08:00
2024-01-10 17:44:36 -08:00
2023-11-07 12:11:26 -08:00
2024-01-11 20:23:50 -08:00
2023-12-21 12:53:36 -05:00
2024-01-23 12:39:48 +02:00
2024-01-17 09:31:36 -08:00
2023-12-08 14:15:44 -08:00
2023-12-13 11:19:18 -08:00
2024-01-10 17:44:36 -08:00
2024-01-08 15:27:15 -08:00
2024-01-11 20:23:50 -08:00
2023-10-30 09:47:13 -10:00
2024-02-01 12:12:17 -06:00
2023-12-10 17:21:26 -08:00
2023-12-07 11:35:23 +09:00
2023-12-29 11:58:35 -08:00
2024-01-23 09:17:11 -05:00
2024-01-06 23:49:50 +01:00
2024-01-11 20:23:50 -08:00
2024-01-09 11:18:47 -08:00
2023-12-08 15:32:31 -07:00
2024-01-11 10:07:29 -08:00
2024-01-22 11:33:57 +05:30
2024-01-11 20:23:50 -08:00
2024-01-10 17:44:36 -08:00
2023-11-14 08:31:31 -05:00
2023-12-21 13:17:54 +01:00
2023-12-23 16:35:09 +02:00
2023-10-30 19:28:19 -10:00
2023-10-30 19:28:19 -10:00
2024-01-09 11:18:47 -08:00
2023-11-02 20:53:31 -10:00
2023-12-28 04:57:57 -08:00
2023-11-18 15:00:01 +01:00
2024-01-11 20:11:35 -08:00
2023-11-18 15:00:01 +01:00
2023-12-12 14:24:55 +01:00
2023-12-28 04:57:57 -08:00
2024-01-24 13:32:29 -08:00
2023-10-24 17:57:45 +02:00
2024-01-11 20:11:35 -08:00
2023-12-12 14:24:14 +01:00
2023-12-24 15:08:49 +00:00
2024-01-11 20:00:22 -08:00
2024-01-11 20:11:35 -08:00
2023-12-24 15:48:03 -05:00
2024-01-19 09:10:23 -08:00
2024-01-11 20:11:35 -08:00
2023-12-28 04:57:57 -08:00
2024-01-19 09:10:23 -08:00
2023-11-28 14:08:47 +01:00
2023-11-18 14:56:16 +01:00
2023-12-29 11:58:35 -08:00
2024-01-12 18:04:01 -08:00
2024-01-13 13:06:25 +01:00
2023-11-25 02:49:43 -05:00
2024-01-08 11:11:51 -08:00
2024-01-10 17:44:36 -08:00
2023-11-18 14:56:16 +01:00
2023-12-21 13:17:54 +01:00
2023-11-18 14:56:16 +01:00
2023-12-12 16:20:02 +01:00
2023-12-12 16:20:02 +01:00
2023-12-12 16:20:02 +01:00
2023-12-12 16:20:02 +01:00
2024-01-08 10:57:34 -08:00
2024-01-10 10:24:49 -08:00
2023-12-28 04:57:57 -08:00
2024-01-17 13:03:37 -08:00