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=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 09527C433DB for ; Thu, 11 Feb 2021 15:31:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B5EC664DDF for ; Thu, 11 Feb 2021 15:31:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231204AbhBKPbA (ORCPT ); Thu, 11 Feb 2021 10:31:00 -0500 Received: from verein.lst.de ([213.95.11.211]:55826 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbhBKP1F (ORCPT ); Thu, 11 Feb 2021 10:27:05 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id AB1F368C7B; Thu, 11 Feb 2021 16:14:29 +0100 (CET) Date: Thu, 11 Feb 2021 16:14:29 +0100 From: Christoph Hellwig To: Mike Christie Cc: hch@lst.de, loberman@redhat.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, mst@redhat.com, stefanha@redhat.com, Nilesh Javali Subject: Re: [PATCH 07/14] qla2xxx: Convert to new submission API Message-ID: <20210211151429.GF22082@lst.de> References: <20210211122728.31721-1-michael.christie@oracle.com> <20210211122728.31721-8-michael.christie@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210211122728.31721-8-michael.christie@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org On Thu, Feb 11, 2021 at 06:27:21AM -0600, Mike Christie wrote: > target_submit_cmd is now only for simple drivers that do their > own sync during shutdown and do not use target_stop_session. > > tcm_qla2xxx uses target_stop_session to sync session shutdown with lio > core, so we use target_init_cmd/target_submit_prep/target_submit, because > target_init_cmd will detect the target_stop_session call and return > an error. Looks good, Reviewed-by: Christoph Hellwig