Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp869569imm; Wed, 11 Jul 2018 12:24:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfKhMch1LIsyi2pqEuy+jbWhInO4JbrwkS6vqkpXSMH2c20MbihpEJXGRG+SXmyYpJPYY/z X-Received: by 2002:a63:6986:: with SMTP id e128-v6mr5901540pgc.294.1531337050996; Wed, 11 Jul 2018 12:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531337050; cv=none; d=google.com; s=arc-20160816; b=mOE4ePjcfFamuaRQaZ5d2WttZLn4+S/A5oANn6C1b6/V4avgdAklf1lajV7RdENfIZ xvx8zA9ixjZPXupqgXkRUzbRgicJJzwW3CcUl24bNQfuaNw267watLXSCE2e6xahd6ul dFj1ZghCrNQOZzfsx7TMkAmgE+liu+PwxXMdz7xarzJhTYhKUS34lja4rrTzj/bKkVXM iz3ytCTTPTuYo8H7T0bsyGsaICCpR7UpG8lNKfGz3vPmOSgHsD3d270tLBtY3fyYTXM1 7E/pttLb0P/ZlEJy6qxhU2GJVyzeojp2JuhapmHVvNM5ieL4NEWfEIKkOPZHoXYv2ULm Mpyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=0KHZt+ay/U0tE/vnL9dbSRWks2knzUFE0q2HIBH8y1c=; b=gMganJPkO9yp4si8LibxCWWXbQZFGt4UYSR5YecnaphTDobvP9OQqkF/aURYXG4qVI 9lYPPdpG7yW59GedgF6CC91HB72BVz+PZ2ws8olfqa6x+6N5E3SDDYItWlULFX/ZAzgm tioONOgTqTTnsc6NchMQVhUkd0yC+yBLy6oI+SVRNBNplQ8IBLNjR0EjEJYAfSjjr2vB Jp+lMK8G+itjjBert2l2jLsQlTUgOUyePTdCM7t2zcbu6bTmV/+1Rlpb4S9G5z+Tdaai LbgXJ14D4+lm7euo8BJvscTC0hl1EcS/Sx/gsFaxMU1LvtDO50Lge6oZPKRMIyhxw+9L 8dMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="sxZN4o/5"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i184-v6si19097713pge.405.2018.07.11.12.23.55; Wed, 11 Jul 2018 12:24:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="sxZN4o/5"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389770AbeGKQk2 (ORCPT + 99 others); Wed, 11 Jul 2018 12:40:28 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51338 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388013AbeGKQk2 (ORCPT ); Wed, 11 Jul 2018 12:40:28 -0400 Received: by mail-wm0-f68.google.com with SMTP id s12-v6so3027737wmc.1; Wed, 11 Jul 2018 09:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0KHZt+ay/U0tE/vnL9dbSRWks2knzUFE0q2HIBH8y1c=; b=sxZN4o/5zzT12C8HQDkZXNg3OwCW1GMvNXX4lVS1U3nx0W56Y6w3tTctfArl3dtKXz 1h8jbXaJXBF871b4fwzIuxQFss716O2vclu/Yk/5qTKoIG+1iWrfDmai5+KeYMVhvDtX Mw/OtgaLnD/oAH3uYgeaRUs0VRvGJY9ld7krFhgp4LSBFYVXLpSy4plHfqjjNpTFlIam 0ZZ8GJH0LN+wK4AuZDJaI0TuYkkW53QNuLiy+vytTIDwWtfqsJrzJMVimx8twxI/7Mc5 3EDZSkEBOa8USWhTYwsI12kzyg0XyCIUQIk2YoZ9YUTdlJR+DTpIwD3lg82a5mU7y4yk yHhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0KHZt+ay/U0tE/vnL9dbSRWks2knzUFE0q2HIBH8y1c=; b=eoDpNuhXAMc/fWBms5ERS6nvxvc8gIjh9Wf4mi35EayurX5DOLtvI8ujGKCsB1w2Jz 9+jSEmaXrgG2XUug8AxlEigfFysEzR2TxEJnYzKA7dTJlsCXvGUgO3xGRm+eMeslQydJ gSPKZ3m7PdehfJDoBFlicGP2LY8IMmtyMr4/Mg4Da9dQO9mVyWOO8Oq678Bbc1TBiUBY MCxHxX8M0Khv8MJcpFVC8YVasUMMcnb+oeyPRv9MDlG4AEvZliU7X25Flqge/8PZUZwx vfAVPGpILiJAtQ7OPLwLBblbuCc38QwoaCGr/LFZJ+PX2vI+V5GT+gCEjtn/9Jnp2/PE pbjA== X-Gm-Message-State: APt69E0R+ezGlaL3pewWKeTmC4e8Z1A0/DHck2jBeqdOVhOzP5B0tmNi CohFjxwBQUuufZHbYvXwFpo5BBbF6b8HO6BJ77RBGQ== X-Received: by 2002:a1c:1745:: with SMTP id 66-v6mr17182987wmx.38.1531326918893; Wed, 11 Jul 2018 09:35:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:9c8:0:0:0:0:0 with HTTP; Wed, 11 Jul 2018 09:35:17 -0700 (PDT) In-Reply-To: <6cf082e4-6fff-21dd-4df5-a6e9e4f2847c@intel.com> References: <20180704085356.10888-1-jthumshirn@suse.de> <6cf082e4-6fff-21dd-4df5-a6e9e4f2847c@intel.com> From: Ming Lei Date: Thu, 12 Jul 2018 00:35:17 +0800 Message-ID: Subject: Re: [PATCH] scsi: switch to scsi-mq by default To: Adrian Hunter Cc: "Martin K. Petersen" , Johannes Thumshirn , Hannes Reinecke , Bart Van Assche , Linux SCSI Mailinglist , Linux Kernel Mailinglist Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 thanks, Ming Lei