Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4507472rwb; Wed, 17 Aug 2022 00:47:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR46/OY/v7DvssiqnAOCoA11Klz4M6XvMpFk/809wwhvn8WrQamBpkFsimYmxFWBp+Nk8IJj X-Received: by 2002:a05:6402:84d:b0:435:a764:9aad with SMTP id b13-20020a056402084d00b00435a7649aadmr23384635edz.332.1660722426829; Wed, 17 Aug 2022 00:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660722426; cv=none; d=google.com; s=arc-20160816; b=nIqI8Uk+f/3xyJUI/GATKGZ+SbfYEnr+HL1gTFYQ29W6hcYhWUU2SmojTqFwTXGGeC EAhnqqQs7XxeKvU98vELyetQOST6L8Jc2ExxzKG5tgY+DgntG09RhAtibEWvvu4Imvae nhYXFlpREIL1YZBwo5TcbBxoscBLE3I2lLaeAnXhoo14HsGtsuqP8NPRPJaOAdxHn7E5 HR8UAPqM7IWp/XXQenXk08H9sSbe3/IKASN6CKRUxgFZZUHNDrG1pILc1DEV5s/7I+/i OpTe/Ctohd1y9p2LTo1AkIwzIdXB338iv0F/2jqfrsTzLVrw34K+94p/BKfRnP776DdD myKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qRDqGr+tlqac4CzmgXCBQTBTjvKu6yBrujKb8BrVlQI=; b=vQ0R0fvfsAbCQSkl7HlzzqZ4U/QQFiHsu0MdaR+/fJAyyFtsNCRbQ+Z9mc69hguSo4 GIS/sHwapMfP5J8MQoaLN2bOXg3cOiTP8d0Bdwf0U1CGcsg/ZW6ZrBptQySVBRXgxyv3 JJ/wQs43LvPsHQYPvPn7CFYGSKC5Fn09MHYxEiklP5iFMb8hfMnkBrvFDRturkVIAfkF 0KEozbpEsBcAKYTfFXk9YlVEgsWlsreo/UsASRpCO07xcFF6nltDG2fVMix6Z/4HmRlV IL00v0F2nF+qkRWlek9CzqqFIjFgr7whCBy9MDrUQ0HSpaNQXSmcVSdF3JLci6uCh3cm rqPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="mF3/ERpW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt19-20020a1709072d9300b00730a3ae3954si13619358ejc.708.2022.08.17.00.46.40; Wed, 17 Aug 2022 00:47:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="mF3/ERpW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232315AbiHQHha (ORCPT + 99 others); Wed, 17 Aug 2022 03:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232555AbiHQHhU (ORCPT ); Wed, 17 Aug 2022 03:37:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DA6B75FE5; Wed, 17 Aug 2022 00:37:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2AD11B81AD6; Wed, 17 Aug 2022 07:37:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74930C433C1; Wed, 17 Aug 2022 07:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660721834; bh=ZAxgS652KqeD91U/AIUFVyV1BNS52jclWURAzMcA7i4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mF3/ERpW4N+EGyi6bsuUI6OytAjmFYF405Prqc+C8q2wNsn1Une5lH/VDWAxbpb3c g5R73S+wei95AGYJhpkedxWlRBUmOrxBmFOIjcu7YFRj/ZTQuYCD1w5jwUqqXNr6Se b9aw7tL3M9/l33PLEu1uYUZF4CBhdDnx3XAzhRKI= Date: Wed, 17 Aug 2022 09:37:12 +0200 From: Greg Kroah-Hartman To: Bart Van Assche Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Ming Lei , Hannes Reinecke , John Garry , ericspero@icloud.com, jason600.groome@gmail.com, "Martin K. Petersen" , Sasha Levin Subject: Re: [PATCH 5.19 0784/1157] scsi: sd: Rework asynchronous resume support Message-ID: References: <20220815180439.416659447@linuxfoundation.org> <20220815180510.851284927@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 16, 2022 at 11:05:27AM -0700, Bart Van Assche wrote: > On 8/15/22 11:02, Greg Kroah-Hartman wrote: > > From: Bart Van Assche > > > > [ Upstream commit 88f1669019bd62b3009a3cebf772fbaaa21b9f38 ] > > > > For some technologies, e.g. an ATA bus, resuming can take multiple > > seconds. Waiting for resume to finish can cause a very noticeable delay. > > Hence this commit that restores the behavior from before "scsi: core: pm: > > Rely on the device driver core for async power management" for most SCSI > > devices. > > > > This commit introduces a behavior change: if the START command fails, do > > not consider this as a SCSI disk resume failure. > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=215880 > > Link: https://lore.kernel.org/r/20220630195703.10155-3-bvanassche@acm.org > > Fixes: a19a93e4c6a9 ("scsi: core: pm: Rely on the device driver core for async power management") > > Hi Greg, > > It has been reported that this patch causes a regression, namely disks not > coming back after a resume. That issue is worse than the issue fixed by this > patch - eliminating a delay. Please drop this patch from the stable tree. > > A revert of this patch has been posted on the linux-scsi mailing list. See > also https://lore.kernel.org/linux-scsi/8a83665a-1951-a326-f930-8fcbb0c4dd9a@huawei.com/. Now dropped from the queue, thanks. greg k-h