RE: 答复: [iscsi] Deadlock occurred when network is in error

2017-08-15 Thread Tangchen (UVP)
> On Tue, 2017-08-15 at 02:16 +, Tangchen (UVP) wrote: > > But I'm not using mq, and I run into these two problems in a non-mq system. > > The patch you pointed out is fix for mq, so I don't think it can resolve > > this > problem. > > > > IIUC, mq is for SSD ? I'm not using ssd, so mq is

Re: 答复: [iscsi] Deadlock occurred when network is in error

2017-08-15 Thread Bart Van Assche
On Tue, 2017-08-15 at 02:16 +, Tangchen (UVP) wrote: > But I'm not using mq, and I run into these two problems in a non-mq system. > The patch you pointed out is fix for mq, so I don't think it can resolve this > problem. > > IIUC, mq is for SSD ? I'm not using ssd, so mq is disabled.

答复: [iscsi] Deadlock occurred when network is in error

2017-08-14 Thread Tangchen (UVP)
Hi, Bart, Thank you very much for the quick response. But I'm not using mq, and I run into these two problems in a non-mq system. The patch you pointed out is fix for mq, so I don't think it can resolve this problem. IIUC, mq is for SSD ? I'm not using ssd, so mq is disabled. On Mon,

Re: [iscsi] Deadlock occurred when network is in error

2017-08-14 Thread Bart Van Assche
On Mon, 2017-08-14 at 11:23 +, Tangchen (UVP) wrote: > Problem 2: > > *** > [What it looks like] > *** > When remove a scsi device, and the network error happens, __blk_drain_queue() > could hang forever. > > # cat /proc/19160/stack > [] msleep+0x1d/0x30 > []

[iscsi] Deadlock occurred when network is in error

2017-08-14 Thread Tangchen (UVP)
Hi, I found two hangup problems between iscsid service and iscsi module. And I can reproduce one of them in the latest kernel always. So I think the problems really exist. It really took me a long time to find out why due to my lack of knowledge of iscsi. But I cannot find a good way to solve