From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B408C433DF for ; Tue, 18 Aug 2020 14:11:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B2DE2080C for ; Tue, 18 Aug 2020 14:11:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbgHROL2 (ORCPT ); Tue, 18 Aug 2020 10:11:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:42382 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726145AbgHROL1 (ORCPT ); Tue, 18 Aug 2020 10:11:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AF55CAC12; Tue, 18 Aug 2020 14:11:51 +0000 (UTC) Date: Tue, 18 Aug 2020 16:11:25 +0200 From: David Disseldorp To: Wu Bo Cc: , , , , , , , , Subject: Re: [PATCH] target:iscsi-target:Fix null pointer access while logout the iscsi session Message-ID: <20200818161125.359383ef@suse.de> In-Reply-To: <1597749370-631500-1-git-send-email-wubo40@huawei.com> References: <1597749370-631500-1-git-send-email-wubo40@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi, On Tue, 18 Aug 2020 19:16:10 +0800, Wu Bo wrote: > From: Wu Bo > > When I use fio to test the iscsi volumes and logout of the iscsi session > at the same time, the following crash occurs: The change looks reasonable here, but I'd like get a reproducer for it. I've attempted something via: https://github.com/ddiss/libiscsi/tree/async_logout_during_write (run iscsi-test-cu --test iSCSI.iSCSITMF.LogoutDuringIOAsync) Do you have any ideas why I'm not able to hit this oops? Thanks, David From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Disseldorp Date: Tue, 18 Aug 2020 14:11:25 +0000 Subject: Re: [PATCH] target:iscsi-target:Fix null pointer access while logout the iscsi session Message-Id: <20200818161125.359383ef@suse.de> List-Id: References: <1597749370-631500-1-git-send-email-wubo40@huawei.com> In-Reply-To: <1597749370-631500-1-git-send-email-wubo40@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wu Bo Cc: martin.petersen@oracle.com, michael.christie@oracle.com, bvanassche@acm.org, sudhakar.panneerselvam@oracle.com, mlombard@redhat.com, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linfeilong@huawei.com, liuzhiqiang26@huawei.com Hi, On Tue, 18 Aug 2020 19:16:10 +0800, Wu Bo wrote: > From: Wu Bo > > When I use fio to test the iscsi volumes and logout of the iscsi session > at the same time, the following crash occurs: The change looks reasonable here, but I'd like get a reproducer for it. I've attempted something via: https://github.com/ddiss/libiscsi/tree/async_logout_during_write (run iscsi-test-cu --test iSCSI.iSCSITMF.LogoutDuringIOAsync) Do you have any ideas why I'm not able to hit this oops? Thanks, David