Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2020862imm; Thu, 24 May 2018 04:38:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqJQGLTbbNMQXkYZ3ck0f5Mi51J0eJFK4jJjGKr7IJdi6DwbVNOnpIRb0vaiVLruzscwU99 X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr7036160plb.20.1527161937589; Thu, 24 May 2018 04:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527161937; cv=none; d=google.com; s=arc-20160816; b=o80UOhvrVImc+g3v5OcZtkwFah63JNseBOH9ndD99rsSHaQXPXD0DrR6+Hu6R9G2M+ ff6mOKZjgadi05mblsrl7OxvZUfyS5uhn3nV1bpt+dAYilS3Sj3aBzWfm3Mer8zuzD5h 3LzCD0XC49pQG6zU/RHV4AWQx8EsLFj2X6oK7NEAydl6ISiDnjanMvUwxI3iMiJpHSt3 USl76FNdw07pmyU8y9e9u18K5AAxUjCfu05CAgxw8PJZSB+5maFO2T1e+cAzWVAmzROz /fk86TFm0NkXXC8v/Lm7kL9RWo0Qn6QpjpKcVxEy5OpMsRAU/Tz2d+u4R6VZ1ukdNUuk lDZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=c+UcT6xMKq4jhKV3Pgndw/0DrSmDGtvcOxJaOyA3PuE=; b=YIl8BGRZbiToH4g5P0RVT4xN0J1Wq3ef3d0Qbhv2Itcbxdnij/fMRQZZmbNE4RWe82 HDb4MKj2rV8NhunKkp9h1iokzZWUavqbbGH3fu1caHxCQ8dqAh8zlfY5OfVvR+QlYpF1 NZwRhwvje7ZDb7mhkatIlaqmvNAONWVET1+UpRaPAy7M8x6Xxt5tElL4bw6cv0Trw8a0 DTFMS4ln5hEP1cVCE+sPuhj3wZJbHKxaHgh1C8ONZZKZkES0gPT310yhpOEK006tgtxD b8SdN9W9S0ZyDkGD9+SoPvOjTB/LsNYbxbpdAS+f8GjnZmyEDDxhezBb90DY7rSdD49K 3fMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jI2YTlqF; 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 k24-v6si20021875pff.91.2018.05.24.04.38.43; Thu, 24 May 2018 04:38:57 -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=@kernel.org header.s=default header.b=jI2YTlqF; 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 S969120AbeEXLiH (ORCPT + 99 others); Thu, 24 May 2018 07:38:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:37744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966984AbeEXJtW (ORCPT ); Thu, 24 May 2018 05:49:22 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 56EAE2089B; Thu, 24 May 2018 09:49:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155361; bh=yxdVmECfarcIIUngqYcR/vStqEr8tl+GdSCoqvMWU9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jI2YTlqFbDfLL3KK8dfIq+g++vFRk1wvWsbyvsghaH8aY7pR3kTngF7Gl9jOJ0scp XwUd4709B0qGUohXBmUGGnQVWRzOFdeQcielXnk0y/zMjqw0DKCtnoVQs9mtNvmJQY MvNiy5KM3KEebDIO2QgospIypMICKLR2a/IVn3Z8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Kelley , "K. Y. Srinivasan" , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.9 57/96] scsi: storvsc: Increase cmd_per_lun for higher speed devices Date: Thu, 24 May 2018 11:38:40 +0200 Message-Id: <20180524093608.760890950@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093605.602125311@linuxfoundation.org> References: <20180524093605.602125311@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 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 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: "Michael Kelley (EOSG)" [ Upstream commit cabe92a55e3a12005a4ac4d3954c9a174b0efe2a ] Increase cmd_per_lun to allow more I/Os in progress per device, particularly for NVMe's. The Hyper-V host side can handle the higher count with no issues. Signed-off-by: Michael Kelley Reviewed-by: K. Y. Srinivasan Acked-by: K. Y. Srinivasan Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/storvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1580,7 +1580,7 @@ static struct scsi_host_template scsi_dr .eh_timed_out = storvsc_eh_timed_out, .slave_alloc = storvsc_device_alloc, .slave_configure = storvsc_device_configure, - .cmd_per_lun = 255, + .cmd_per_lun = 2048, .this_id = -1, .use_clustering = ENABLE_CLUSTERING, /* Make sure we dont get a sg segment crosses a page boundary */