Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5322815ybl; Tue, 14 Jan 2020 07:07:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzkelzvUxrJyK7sRWr4tYbLdRSLfm2VVykVpjGGwop/bOIzF3RzlbKkDbwwHr+wRqvfZWt/ X-Received: by 2002:a9d:7999:: with SMTP id h25mr17370852otm.347.1579014465978; Tue, 14 Jan 2020 07:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579014465; cv=none; d=google.com; s=arc-20160816; b=YwIjx4F8+LA0aLuoXaBduoBs1vMEgbUmguKpjHa7t5B1k+GvM6dxP4NQNPHKkNaOwH SJ2U6TIUNZwFwcHbMgaCK9KulrHNvvHoDvx0zp1QcvQz4demYGgAdUNrgD7c4UKX9FWv gPmMJAuRRnwxPu1ZVEBRtF1+MFoacFtb1zunUFdklCj+JQy4mVQzJIsihGxfVpFAPJgb Hhj7m3Ze9w3zmh3OaKbFxu7Ba+pUA5gAqe6Bfu2fAAML5kT0TZiMMR4HFq989jCnqLke G+rCpcNz+4QWsz2D4D2BJCclE1HAeXycDJ4awmYZ890B7NhlkuthY9qffJNOYBofDbrp 0iDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sv4RncteUXVsAeByH4X+TRu9v9DSNGuGiJWkpae9f70=; b=qnWt8ezLVuUwVALjF39RUqlBcuykmUtigo4yNJvujvJKX3E1+Sx1nsCtKGv6RvgcX3 2NsKqSQ3OzccwPZ92GUbdYuP/2e5wN0K5qgXuvJ16VYL22uZQpklXroGMFg47984dBe0 95qyOBcEHxlbBs4rvk+YWyt/7vxSam0WtMDgjrUcxuF0AuOrMfTDY96actpT9aqprfa/ mhmhb0+NdOaCYAYZsfvnL6pmK5z1tN6k4TvCSe5gUGwDInrm10SREpU1q8DD02hBZCg5 2TG03FMceP1ziiAYkB1b6M+8IBDfUh+ebA6g8mdyETPq800Ua9QgR2r4TNN/VC16hNAa 06YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="cewPS/kP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t82si8058633oif.45.2020.01.14.07.07.29; Tue, 14 Jan 2020 07:07:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="cewPS/kP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729092AbgANPGF (ORCPT + 99 others); Tue, 14 Jan 2020 10:06:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:47956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbgANPGF (ORCPT ); Tue, 14 Jan 2020 10:06:05 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 47311206D5; Tue, 14 Jan 2020 15:06:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579014364; bh=hrgX1mwFA1hO9cXQwtcHBBFuCTcWaR2255QdVI4Rx8g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cewPS/kP0cj2h5XJ8K9A1Oi6v8931IUE1i5JMQ/gkhV8kA3hn0ObOWw2XeodbkCb5 ZG8zYbMG4XSNasMHsLe0kycHUxKqWghMl0Y1U+ojmbkimMslR8q4lVILVwUm/YsCSb b9RrEesMEkP8qsR0k/dNF8r6wixNDfElgK30DxLU= Date: Tue, 14 Jan 2020 16:06:02 +0100 From: Greg KH To: Gabriel Krisman Bertazi Cc: rafael@kernel.org, lduncan@suse.com, cleech@redhat.com, jejb@linux.ibm.com, martin.petersen@oracle.com, open-iscsi@googlegroups.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH 0/3] drivers base: transport component error propagation Message-ID: <20200114150602.GC1975425@kroah.com> References: <20200106185817.640331-1-krisman@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200106185817.640331-1-krisman@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 06, 2020 at 01:58:14PM -0500, Gabriel Krisman Bertazi wrote: > Hi, > > This small series improves error propagation on the transport component > to prevent an inconsistent state in the iscsi module. The bug that > motivated this patch results in a hanging iscsi connection that cannot > be used or removed by userspace, since the session is in an inconsistent > state. > > That said, I tested it using the TCP iscsi transport (and forcing errors > on the triggered function), which doesn't require a particularly complex > container structure, so it is not the best test for finding corner cases > on the atomic attribute_container_device trigger version. > > Please let me know what you think. Looks sane, feel free to take the first two patches through what ever tree iscsi patches go through. thanks, greg k-h