Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4298940ybl; Tue, 20 Aug 2019 09:48:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2P22J0IRqYk10wqTmtNXSEcFkQAojjzIjr84/vS+lYrGVpC+0SY7VtSCfb4CwoAaNXqEh X-Received: by 2002:a65:6454:: with SMTP id s20mr25476606pgv.15.1566319684187; Tue, 20 Aug 2019 09:48:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566319684; cv=none; d=google.com; s=arc-20160816; b=HPSCzh/X/QZXHIEF9/qjq7NGlDZGsYbtw/ue9USJlxpuAj4lT7B4c5b3D7Y3fVIP+p SETTNvzDwBpYKP53OQUNgHE330eYo8tf7URg3daGLwcjdQetHvKppJCB5FfA2shMQmK3 uXoT5UwLcva7x9xt0aLK52B5JQU8xgthIOJt5emHXesjSUWDC5UKK8FZ+VzyPBvui4I4 wF/E+sHOAE6aihQktU6N9dA6bjGAGjPp1m28PBScigkpbuAumEiXJ/Pgmqj0EqO0BUqL gGxpPnQ+6+NJgu2JxxKU0fR3Fftyp5fCX0tbgsUTFM6lkBRa45ajTJXV1/kAcqFdV2CT LLNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=a1l5QAqpJog0JiiZQxutHVbnHHvoy2lz0ZfOhbg8P1s=; b=vCFJfoEJ+VGYtFFQ0nVfz8RqgHLr4mnbmFlpUAVx/tJYCBWrID1oHW1jHAMjfp6sNM bxu5bUgW1RZ91SR03QnRr8YygQG02QeiXrowpfSt0+r4d4er6L3Jk5cFtAyUeJ3LI77y JT4SkJ/nNdFsISE0d8alfVlDi0NsGn64/Cc59Ocva0Tb8eNsn8Xu44Tsyg6DA66cwbx5 EgiYB7W8lss84kZbuWc0QnDmGukR+RcvqvfnJHWoLWWH4nNaxkuuyCEXLtLdxuG8DAeU FCCyoWnQkbEa9J7QZnd71WSTQMQYRTnUG0o1ByMjMzALexRATnSWIxaAG/gqSTvaddO8 mUiQ== ARC-Authentication-Results: i=1; mx.google.com; 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 s10si12590374plr.43.2019.08.20.09.47.48; Tue, 20 Aug 2019 09:48:04 -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; 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 S1730063AbfHTQq2 (ORCPT + 99 others); Tue, 20 Aug 2019 12:46:28 -0400 Received: from vsmx011.vodafonemail.xion.oxcs.net ([153.92.174.89]:62317 "EHLO vsmx011.vodafonemail.xion.oxcs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfHTQq2 (ORCPT ); Tue, 20 Aug 2019 12:46:28 -0400 X-Greylist: delayed 529 seconds by postgrey-1.27 at vger.kernel.org; Tue, 20 Aug 2019 12:46:28 EDT Received: from vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 5115C3E23EE; Tue, 20 Aug 2019 16:37:38 +0000 (UTC) Received: from lazy.lzy (unknown [87.157.113.162]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id BC027300A9C; Tue, 20 Aug 2019 16:37:23 +0000 (UTC) Received: from lazy.lzy (localhost [127.0.0.1]) by lazy.lzy (8.15.2/8.14.5) with ESMTPS id x7KGbMNN003176 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 20 Aug 2019 18:37:22 +0200 Received: (from red@localhost) by lazy.lzy (8.15.2/8.15.2/Submit) id x7KGbMvI003175; Tue, 20 Aug 2019 18:37:22 +0200 Date: Tue, 20 Aug 2019 18:37:22 +0200 From: Piergiorgio Sartor To: Christoph Hellwig Cc: Alan Stern , Piergiorgio Sartor , Jens Axboe , USB list , linux-block@vger.kernel.org, Kernel development list Subject: Re: reeze while write on external usb 3.0 hard disk [Bug 204095] Message-ID: <20190820163722.GA2991@lazy.lzy> References: <20190817095422.GA4200@lazy.lzy> <20190820072326.GD28968@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190820072326.GD28968@lst.de> User-Agent: Mutt/1.12.1 (2019-06-15) X-VADE-STATUS: LEGIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 20, 2019 at 09:23:26AM +0200, Christoph Hellwig wrote: > On Mon, Aug 19, 2019 at 10:14:25AM -0400, Alan Stern wrote: > > Let's bring this to the attention of some more people. > > > > It looks like the bug that was supposed to be fixed by commit > > d74ffae8b8dd ("usb-storage: Add a limitation for > > blk_queue_max_hw_sectors()"), which is part of 5.2.5, but apparently > > the bug still occurs. > > Piergiorgio, > > can you dump the content of max_hw_sectors_kb file for your USB storage > device and send that to this thread? Hi all, for both kernels, 5.1.20 (working) and 5.2.8 (not working), the content of /sys/dev/x:y/queue/max_hw_sectors_kb is 512 for USB storage devices (2.0 and 3.0). This is for the PC showing the issue. In an other PC, which does not show the issus at the moment, the values are 120, for USB2.0, and 256, for USB3.0. bye, -- piergiorgio