Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2674719ybc; Mon, 25 Nov 2019 02:14:23 -0800 (PST) X-Google-Smtp-Source: APXvYqw5V/FoKLziRkKJy7AZ/kXHIJ/M60pH9RF32Ffp2y5pLCAbBM+NYIlRYsQYN5G9AUIllVk3 X-Received: by 2002:a17:906:d9c4:: with SMTP id qk4mr35038318ejb.214.1574676863210; Mon, 25 Nov 2019 02:14:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574676863; cv=none; d=google.com; s=arc-20160816; b=kiouGlYnOfAP1JXNLsT8qyPTvkDg+OEYU+2TNthY5CEnhw2YwKtYfXhTzwONZnVjYy bMbUBIb6TSAlw+wnc6M5LLHJliiRv2ndBXSbk8SQdFPFX4jv04sQr8p6+RTJyvlB0yeY 2d4PUhQfhWOShyeSOuAJ4/v2WRn5r4jmGZCG1XVzQbOABIXP5nymdzP1tra+kAvVHOj7 xt4qxJslV26uN+XIzL6XBXLo3A5i5YDBalx6mK9gj8MlgpDNOC1KhKgqIAKOGPvKf2Y8 xa3uGACNpKRWfvM05Fd53CYNrLF+IU9LwOUGwUUL/RR3cN0zegnmOQSuHTzq2D80ai9Q dNmg== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=Bwpubt5kO9MpF6+DhDd9tFXMqNxMMg0/sf7IorDXQyk=; b=G1J5Arh2gooxlu7MZBFnEpY3NArYSg2EjRzmLWN/z+bFa9TzfGN8YdOUGDIMULeRx8 tLhcTaYFx6sJCSOXovUjx5PUiSGgGk7E7xlQyk6j4bgvMG/52No5EBgmRdvMT6JpgQE8 mC5+Ohay5r0/Rt/c511CbjXi37Z6h2z7eiRWC3ZNO1i9z4zySev0e8WCtCenB0EumIo6 jhB53dQFFRhtCNlI1t4Mkt7OJdiRXxAKOJpVzhS9xCCDFLnFpEpNKGdUT3PN6knbmZO4 H+Hp7892gUwaHwYcRwX+ftfDoZuS3fWaTLKuYYtkQK92EVPLcuMEfMaeETJG6TQH13Ug FNTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@unipv-it.20150623.gappssmtp.com header.s=20150623 header.b=vSvVHULp; 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 k10si4441542edx.350.2019.11.25.02.13.59; Mon, 25 Nov 2019 02:14:23 -0800 (PST) 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=@unipv-it.20150623.gappssmtp.com header.s=20150623 header.b=vSvVHULp; 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 S1727445AbfKYKLF (ORCPT + 99 others); Mon, 25 Nov 2019 05:11:05 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:54814 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbfKYKLF (ORCPT ); Mon, 25 Nov 2019 05:11:05 -0500 Received: by mail-wm1-f50.google.com with SMTP id b11so5326100wmj.4 for ; Mon, 25 Nov 2019 02:11:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unipv-it.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Bwpubt5kO9MpF6+DhDd9tFXMqNxMMg0/sf7IorDXQyk=; b=vSvVHULp7DD7lYRvr2dnS4yvZFxgC2sHfS0hqs1sHp7uGdaRTaNLgh0nB15KXx49yI d9ndwlfx2sBiMePPGdCUiqrUVJmYbHkrbYzXF1vesYOZZldXSUjTo0a2hTmF9sjR9QyD 6dxBUB1R7IAurqg4iAsu2obFxdeuVcAGHjc2J6u/3AGjCcEp8zpO6q7DjhE7qiu26MJN n9Yw/S1l3/MMIS/hPH2Wb1cTFITadmvYybyppnsA7vXNq8pdC/rO5U2rhFgsastbCupJ wdlwv5oVuAWFt07xWyzgcbt/Y0Hi1PQsGRAp1XBC1tThcm+in8vhIenirOlQClvvhFD9 3BDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Bwpubt5kO9MpF6+DhDd9tFXMqNxMMg0/sf7IorDXQyk=; b=YElo29VmnzPRlhSJqNrVDpFUvcSCUdghL/0Hiy+JJPuU3P12sgMnD5Lu9wJru5WHuP E2MOMKyVZWPmzK/l9ugjQkyqrlZgaJBZik3DYEy7oQot4OG/6pr3Kf7HA6G3sqdO7JIf JJmAd4rIldjO0J59tQksop6DV/f5pLx62EjZFQM7dBaZqZrTXCBd0NERuLgqYC4wP4lD MlAbZtalV/ycmX4zpUHyYkfytxRvsuyjzl9x2DzFV4kBnpYDTAVzPbbwuXlfBWLnbciW bqyGTx85w75YwHx67oSeJrunPFhaaWau3XMWGJpYkPblhvObEe5i85ma8fioF4xI6mWO LtGg== X-Gm-Message-State: APjAAAXteRvbb3NdhNe2KKRelEfn0v4cms0MxVznxQ36Y/bUn2lZdjoL cz2aZIhlfAO1WOFMnhJH3H4yqA== X-Received: by 2002:a05:600c:2257:: with SMTP id a23mr29322180wmm.143.1574676662350; Mon, 25 Nov 2019 02:11:02 -0800 (PST) Received: from angus.unipv.it (angus.unipv.it. [193.206.67.163]) by smtp.gmail.com with ESMTPSA id 4sm8142393wmd.33.2019.11.25.02.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 02:11:01 -0800 (PST) Message-ID: Subject: Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6 From: Andrea Vai To: Ming Lei Cc: Damien Le Moal , Alan Stern , Jens Axboe , Johannes Thumshirn , USB list , SCSI development list , Himanshu Madhani , Hannes Reinecke , Omar Sandoval , "Martin K. Petersen" , Greg KH , Hans Holmberg , Kernel development list Date: Mon, 25 Nov 2019 11:11:00 +0100 In-Reply-To: <20191125035437.GA3806@ming.t460p> References: <20191109222828.GA30568@ming.t460p> <20191123072726.GC25356@ming.t460p> <20191125035437.GA3806@ming.t460p> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il giorno lun, 25/11/2019 alle 11.54 +0800, Ming Lei ha scritto: > On Sat, Nov 23, 2019 at 04:44:55PM +0100, Andrea Vai wrote: > > Il giorno sab, 23/11/2019 alle 15.28 +0800, Ming Lei ha scritto: > > > > > > Please post the log of 'lsusb -v', and I will try to make a > patch > > > for > > > addressing the issue. > > > > attached, > > Please apply the attached patch, and re-build & install & reboot > kernel. > > This time, please don't switch io scheduler. # patch -p1 < usb.patch outputs: (Stripping trailing CRs from patch; use --binary to disable.) patching file block/blk-mq.c Hunk #1 succeeded at 1465 (offset 29 lines). Hunk #2 succeeded at 3061 (offset 13 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file drivers/scsi/scsi_lib.c Hunk #1 succeeded at 1902 (offset -37 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file drivers/usb/storage/scsiglue.c Hunk #1 succeeded at 651 (offset -10 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file include/linux/blk-mq.h Hunk #1 succeeded at 226 (offset -162 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file include/scsi/scsi_host.h patch unexpectedly ends in middle of line patch unexpectedly ends in middle of line Just to be sure I have to go on, is this correct? Sounds like an error but I don't know if it is important. Thanks, Andrea