Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1331591imm; Wed, 11 Jul 2018 23:20:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfylF1ZTTLI7ZCajtKkqVIoibMHk0rHv8xVfwUMn4GpZN5zIYZgXywhnmaWyh05nxeacGx9 X-Received: by 2002:a62:283:: with SMTP id 125-v6mr987107pfc.51.1531376455891; Wed, 11 Jul 2018 23:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531376455; cv=none; d=google.com; s=arc-20160816; b=LpEwoX7Tue/Yz61hv0zxm7qBWsmECBxYLVomiNY063+XINdbMLQgZBKVj1AXV8Wigl WsR/iPv/LZDUmITnvK5t3b5M8kJIJo/6TbqpLru8EvHzu9whrkMC6MQ4KuH4KV2xb8+N Moxj0OFjEpvQQe1OERSLRv5yR4teEoQOhylD6/18pvCtkmO5xSw/KdOrNPflwCIPqaee Q38xICqkLCeO6s722MzcSMY2fWxuJiSl/Jzkmn8JbgH97pAZRDNyMjaEwbRrzfBlrQ2J mwxPsJzwMt/2G7zJZMNBmWWNAxwetlFNHgYB3qk0OSKrDAZsjslwVDDZ+Wu3N1EvWkcX dkKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=BzMXl3CfgXQ1cUyUNmDYUIYUsku7ajJr0sONhZdVZag=; b=ACRe1sDYS3bablWcp+54haaiVAueBXU800GwzNbIZX098pRZppdxyAkSrS/FfGUD59 3xXb4cDep9WthSh45iTGJuEPSf6dAaVBmTQ1i7V5MB/vJ995Skh6ve79Ld368ugupP/w doSxS8TpTunMqLJHIiia4ZE4GV0KV0+kmZ72mH+VlUfLP0/llFhbwMd1xnhWQPjF08ZY FbziL6T8i8tnC54hklmKfVW2aoubcBXYmpl7thAxuwxebWBFHSGjMPcfn2p0gZoUKzmE zw1JBh35GadQiTNnsIDsMqXIF3JVwlfvoXuscbm9IoWpakIAZj9GAv06DD7UMOv+sbA8 Zsrg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w133-v6si22983751pfd.313.2018.07.11.23.20.40; Wed, 11 Jul 2018 23:20:55 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732296AbeGLG1X (ORCPT + 99 others); Thu, 12 Jul 2018 02:27:23 -0400 Received: from mga04.intel.com ([192.55.52.120]:3952 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732191AbeGLG1W (ORCPT ); Thu, 12 Jul 2018 02:27:22 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jul 2018 23:19:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,341,1526367600"; d="scan'208";a="56271324" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.168]) ([10.237.72.168]) by orsmga008.jf.intel.com with ESMTP; 11 Jul 2018 23:19:06 -0700 Subject: Re: [PATCH] scsi: switch to scsi-mq by default To: Ming Lei Cc: "Martin K. Petersen" , Johannes Thumshirn , Hannes Reinecke , Bart Van Assche , Linux SCSI Mailinglist , Linux Kernel Mailinglist References: <20180704085356.10888-1-jthumshirn@suse.de> <6cf082e4-6fff-21dd-4df5-a6e9e4f2847c@intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <0f4af58b-5684-eba8-961a-b912a60befff@intel.com> Date: Thu, 12 Jul 2018 09:17:33 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/07/18 19:35, Ming Lei wrote: > On Wed, Jul 11, 2018 at 4:31 PM, Adrian Hunter wrote: >> On 11/07/18 05:52, Martin K. Petersen wrote: >>> >>> Johannes, >>> >>>> It has been more than one year since we tried to change the default >>>> from legacy to multi queue in SCSI with commit c279bd9e406 ("scsi: >>>> default to scsi-mq"). But due to issues with suspend/resume and >>>> performance problems it had been reverted again with commit >>>> cbe7dfa26eee ("Revert "scsi: default to scsi-mq""). >>>> >>>> In the meantime there have been a substantial amount of performance >>>> improvements and suspend/resume got fixed as well, thus we can >>>> re-enable scsi-mq without a significant performance penalty. >>> >>> Applied to 4.19/scsi-queue, thanks! >>> >> >> But there is no runtime pm support, is there? I tried enabling runtime PM >> for UFS SCSI devices with scsi-mq and it didn't work, which is a regression. > > I just posted one RFC patchset for supporting runtime PM on scsi_mq, and > looks it works in my test on usb-storage. > > https://marc.info/?l=linux-block&m=153132657922233&w=2 Cool, please cc me on the next revision of your patch set.