Re: [PATCH 1/2] cifs:smbd When reconnecting to server, call smbd_destroy() after all MIDs have been called

2019-05-14 Thread Pavel Shilovsky
пн, 13 мая 2019 г. в 21:02, : > > From: Long Li > > commit 214bab448476 ("cifs: Call MID callback before destroying transport") > assumes that the MID callback should not take srv_mutex, this may not always > be true. SMB Direct requires the MID callback completed before calling > transport so

[PATCH 1/2] cifs:smbd When reconnecting to server, call smbd_destroy() after all MIDs have been called

2019-05-13 Thread longli
From: Long Li commit 214bab448476 ("cifs: Call MID callback before destroying transport") assumes that the MID callback should not take srv_mutex, this may not always be true. SMB Direct requires the MID callback completed before calling transport so all pending memory registration can be freed.