Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3224810ybc; Mon, 25 Nov 2019 10:57:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyUV09R1Q8rDnQ9tnll2wWkpIP9fsYHYAUjrJmd9M4vCc6RyFbK258d8d0Qx4+ABqzSH7dk X-Received: by 2002:a17:906:70ca:: with SMTP id g10mr38225492ejk.141.1574708238356; Mon, 25 Nov 2019 10:57:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574708238; cv=none; d=google.com; s=arc-20160816; b=GJ+dJnadasuBXTeI3VtdHXtsmKpTkS1waYVHN8CV3H7QHdXLivzMAuWo8laOuubS02 1ywky1y1ndl8Gs5uqQD9oeCWzsKYDb7F/96C+tUw0pugYYr/4IgTJck+aKbG/cvtOwAz cu4ky1j2id/GQUboOZ+MzDya6GiQatm8HrrTtQFWzrTc2IdtTgrk3bW/1t0nex7UdO2V AmqvTlh3mKx/HirbmLKPKIs/NVYKGqGMX2lW/OBi2uoEeElfk1PlvWPokJfNhJmvGuK7 qGlTXtYux46OXSFkJzZf6x2Je69yoqnHIAYyQhbdOu3RoKlIII8ZpC3qs3bAJ22kKTdV Fpgg== 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=DXGmbfWdvrXuzWAE8BTOxQjhRPkzvMn2ZsCmjYzmHWg=; b=CgPu2BpvEkDccmbGCyT5QqbqzPVDOoI1uDJwxrQvGR8ODb71DOWryRagev20oE+KVI GHz87rQYOoGJcZm8NpcJdGBKQQBuKwiRs4Gg+afP6tXBT/y+NlFnIehOK+/aqq0+u5SR iEe2mAjkKK38a6OPnqBGFNIx89JFEKlCb2/ChPwmbBM6JpxFVxhh05GGURKS020PmJG+ 7L5EJ0Y6ecYY6lwoEqWRWGWzyc0nuqqpmjSiilDjMenJUoAohy6Yrzu0uKjcM0Jd/JIY baf7VuWrjQxz3VOKNCqA/XNkMi+WrLUNAkc2ujcSE0q+BXM+mEbxVbTNd/f816TP4LVP OqhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@unipv-it.20150623.gappssmtp.com header.s=20150623 header.b=0q6Imda0; 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 g10si6388086edk.5.2019.11.25.10.56.53; Mon, 25 Nov 2019 10:57:18 -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=0q6Imda0; 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 S1727303AbfKYSvj (ORCPT + 99 others); Mon, 25 Nov 2019 13:51:39 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:39039 "EHLO mail-wr1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbfKYSvi (ORCPT ); Mon, 25 Nov 2019 13:51:38 -0500 Received: by mail-wr1-f54.google.com with SMTP id y11so16351197wrt.6 for ; Mon, 25 Nov 2019 10:51:36 -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=DXGmbfWdvrXuzWAE8BTOxQjhRPkzvMn2ZsCmjYzmHWg=; b=0q6Imda0TKBHEocYjyoSHIc0I6FRCKxOhTi8Zqg1IED3XejYap3FokRHDhuJkUBpnb atX5/nUhOZTRxVZIP1RBj3prnNo01hrBVS6/9h0boB3cdpGd00MMjbQCuLPjWH8ghS/2 +I7CIIR5VYVN05/X8cDCLajhxNC8mZOygCIivvDQACae+/BoQ05kpCrwiwRZmeC5COsV u3w3eepWApVFgdKhrR/eoGIvXNDkiie9xbIQ4X6qU9KSVkFQTwpT0TxkZpG/mWyAVeh0 G5GBxo08sw/78ZQXGSuYqCLvOF57i1C8rYVF88v7Ey+S8sdCcCta/JyT+Ls4CRFyzMfh uBjw== 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=DXGmbfWdvrXuzWAE8BTOxQjhRPkzvMn2ZsCmjYzmHWg=; b=avjOVvlqUNcThuHZmjIXP13ODw9Jk9GbLx/eGvPZ9AHDxY7t5nBvQMTTfB5LgMgJjn RoN/Tz7R8uy/6qWxx4KeEuvbvJOygiIe1XCV2IBtiS5ajdOOhuCdmUq+2urXarB7yfQe Hj4JJFiAuQ1Idqs0lBSxSidooKn57owD7goTsRrOeQ9kcj0VsbTK3kpf0jk8wM4BVD9Q NbAnNIWWAjAuF33uabWvTrJlevGpRHSMiRVxAaUB+36C04p4Tq9FdF8ON7XOB88x7Yr+ nzgBESrA2UhoMXfJAD08daS02ptYwn1rsiYta2oAiaP0PByb13npzFk5IREOdhS6NtAQ 42iQ== X-Gm-Message-State: APjAAAUREfmwH5j0OC/F4OwEBmN8vdP7Aj3jiqVGxwwwpQrkvOsD2erK fQWP7O2oP6Cub3phOAXdw8EsOA== X-Received: by 2002:adf:e94e:: with SMTP id m14mr34093476wrn.233.1574707895385; Mon, 25 Nov 2019 10:51:35 -0800 (PST) Received: from angus.unipv.it (angus.unipv.it. [193.206.67.163]) by smtp.gmail.com with ESMTPSA id b186sm197328wmb.21.2019.11.25.10.51.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 10:51:34 -0800 (PST) Message-ID: <0876e232feace900735ac90d27136288b54dafe1.camel@unipv.it> 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 19:51:33 +0100 In-Reply-To: <20191125151535.GA8044@ming.t460p> References: <20191109222828.GA30568@ming.t460p> <20191123072726.GC25356@ming.t460p> <20191125035437.GA3806@ming.t460p> <20191125102928.GA20489@ming.t460p> <20191125151535.GA8044@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 23.15 +0800, Ming Lei ha scritto: > On Mon, Nov 25, 2019 at 03:58:34PM +0100, Andrea Vai wrote: > > [...] > > > What to try next? > > 1) cat /sys/kernel/debug/block/$DISK/hctx0/flags result: alloc_policy=FIFO SHOULD_MERGE|2 > > > 2) echo 128 > /sys/block/$DISK/queue/nr_requests and run your copy > 1GB > test again. done, and still fails. What to try next? Thanks, Andrea