Re: [PATCH v2 00/36] SCSI target patches for kernel v4.11

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

 



On Thu, 2017-02-02 at 18:14 +0100, David Disseldorp wrote:
> On Wed, 1 Feb 2017 16:58:17 -0800, Bart Van Assche wrote:
> > The most important changes in this patch series are:
> > * ABORT and LUN RESET handling is made synchronous.
> 
> I occasionally hit a lockup while running the libiscsi MultipathIO.Reset
> test against a scsi-target-for-v4.11 iSCSI target, which I haven't seen
> on mainline (yet):

Hello David,

Thanks for the report. Can you repeat your test against the
scsi-target-for-v4.11 branch of
https://git.kernel.org/cgit/linux/kernel/git/bvanassche/linux.git/ ;(commit
e06fd3154941)? The diff compared to v2 of this patch series is as follows:

diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index 9d1f4734c950..1b7988407ef6 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -519,7 +519,8 @@ void transport_free_session(struct se_session *se_sess)
                se_sess->se_node_acl = NULL;
                target_put_nacl(se_nacl);
        }
-       destroy_workqueue(se_sess->tmf_wq);
+       if (se_sess->tmf_wq)
+               destroy_workqueue(se_sess->tmf_wq);
        if (se_sess->sess_cmd_map) {
                percpu_ida_destroy(&se_sess->sess_tag_pool);
                kvfree(se_sess->sess_cmd_map);

Thanks,

Bart.--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux