Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1979811imm; Thu, 24 May 2018 03:58:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq71PqsVAfwf6aZB3CjyFEsdEMh6Ith8/R8pXCBEztSQGj5nMvRIiGAzDE+KR55H69cZCqL X-Received: by 2002:a62:2043:: with SMTP id g64-v6mr6788927pfg.12.1527159537861; Thu, 24 May 2018 03:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527159537; cv=none; d=google.com; s=arc-20160816; b=aqxV1pK1qc+ZafMHgrBV0PJyXt+j870ViOSXsh4pciWmZvKIAUktWhCD38E7jp1n2i b2YxKRI1FF5SLz6Gr2S+yPFT9HmqH12OZgtlCwl5FfvdH7aWpz8gZckQawGDef2Ss7AQ mDROGGtDFy9xej6KUjTUoofcZo22ZTFw+qj2JeRcJyh+IQxzcMZ74wG6ZclUfagacQyr diDjyeKOumkezKoYXviVZXzp5SIwoCRbwrc1jOJsz3V/l+wFZRwisRJPE42BOxdoD8U7 8d6TLxhxDMn5qhjcKQyPw4hdQ2WQmG+1BwD2QMdwWL0c1m9TBZ4BuSIfXHaygqrgrIvh uIfw== 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=n0fiC40lBm80Av6AYCVdl3QUSJVZge8PRzuM9PaeGF8=; b=kldsj7TdhQlw3IAd7EPk32KoGRCHlJrLgEhtnBdqj089YCbvJitkBXYeFbX5fviCZb 3pmUL7rsgDzC4LaaJ/IvRb8kIC1gpPq6Dp+YbTzKQZMdrLYUxYjqHOodNtrWm0qBaAcV V0xYc0Xmfq1phlArIBERLO/64VjATpuZOXd/D52p40vn6wrg29ZXCxj9Ly3ma46E5J4F C45Omkzkh6s63r+YiDwD2H34uwoa8c++FisI/cv48EWbMMXg98L1RaPw4bRphXa9MUtg ego4V09g4dGDse5Unc0EuvWabn9IlHJgARVQjc1vtJyuLauxlUDOtzvH8pKgdwlBFxWk VDmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LsjL344z; 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 t70-v6si10666851pgc.141.2018.05.24.03.58.42; Thu, 24 May 2018 03:58: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=LsjL344z; 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 S1030246AbeEXJ4H (ORCPT + 99 others); Thu, 24 May 2018 05:56:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:35986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968415AbeEXJ4A (ORCPT ); Thu, 24 May 2018 05:56:00 -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 3007620891; Thu, 24 May 2018 09:55:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155759; bh=MBp0xtkIRIjEPJyrHsk/VI8ptZ1JDjPgWv5IhXVXtWo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LsjL344zVtdTslGKsdVmoXFKQQqf+JarDLF6G9K0+reCVMmsEgbDvOwgHKa+qkang ZJ6jLEK9zBAtQ7OCpQSyHTckby/DUVLmZPdZe29MQhKwyfEcPH3SNG1T0bRdea/StT hcSR2H/8fktxaaayFdmmZl5Sq3dVmA/7BQrnAExU= 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.14 106/165] scsi: storvsc: Increase cmd_per_lun for higher speed devices Date: Thu, 24 May 2018 11:38:32 +0200 Message-Id: <20180524093626.304795528@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093621.979359379@linuxfoundation.org> References: <20180524093621.979359379@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.14-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 @@ -1661,7 +1661,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 */