Re: [RFC] Clear out stuck ops to prevent iSER from going init D state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert,
can you please try replacing the ib_drain_qp with ib_drain_rq ? or make sure
ib_drain_qp don't stuck.
in the past (before v4.6) we sent "recv_beacon" on the isert disconnect
flow.
I suspect that area.

Max.

It is getting stuck in target_wait_for_sess_cmds. ib_drain_qp is
returning just fine. I put in a bunch of debug statements and here is
a clip of them from a previous test.

It won't make a difference, and we need both the rq and the sq drained
before we continue with session teardown.

Robert,

I'm still missing the information of which commands are pending without
a completion.

Please activate target_wait_for_sess_cmds() debug logging.

You can turn on the whole file with:
echo "file target_core_transport.c +p" > /sys/kernel/debug/dynamic_debug/control

Cheers,
Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux