Re: [PATCH 2/2] RDMA/srp: Fix a sleep-in-invalid-context bug

2019-03-27 Thread Jason Gunthorpe
On Tue, Mar 26, 2019 at 01:43:31PM -0700, Bart Van Assche wrote: > The previous patch guarantees that srp_queuecommand() does not get > invoked while reconnecting occurs. Hence remove the code from > srp_queuecommand() that prevents command queueing while reconnecting. > This patch avoids that the

Re: [PATCH 2/2] RDMA/srp: Fix a sleep-in-invalid-context bug

2019-03-27 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 2/2] RDMA/srp: Fix a sleep-in-invalid-context bug

2019-03-26 Thread Bart Van Assche
The previous patch guarantees that srp_queuecommand() does not get invoked while reconnecting occurs. Hence remove the code from srp_queuecommand() that prevents command queueing while reconnecting. This patch avoids that the following can appear in the kernel log: BUG: sleeping function called fr