Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2359C433E1 for ; Tue, 18 Aug 2020 18:34:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B7F422075E for ; Tue, 18 Aug 2020 18:34:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726588AbgHRSeX (ORCPT ); Tue, 18 Aug 2020 14:34:23 -0400 Received: from netrider.rowland.org ([192.131.102.5]:38487 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726716AbgHRSeV (ORCPT ); Tue, 18 Aug 2020 14:34:21 -0400 Received: (qmail 156023 invoked by uid 1000); 18 Aug 2020 14:34:20 -0400 Date: Tue, 18 Aug 2020 14:34:20 -0400 From: Alan Stern To: Patrik Nilsson Cc: Greg KH , linux-usb@vger.kernel.org Subject: Re: high speed data to usb disk makes the kernel think that is has been unmounted Message-ID: <20200818183420.GB152667@rowland.harvard.edu> References: <20200811175655.GB828356@kroah.com> <47a5804c-835a-f1a2-abce-50b3531f2556@gmail.com> <20200811193150.GA344152@rowland.harvard.edu> <20200812061451.GE1299081@kroah.com> <95be674d-ee98-b904-6856-2f662ac7838f@gmail.com> <20200818085502.GB28036@kroah.com> <83a5be3e-9f93-e601-5161-cbb5d1957c5a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83a5be3e-9f93-e601-5161-cbb5d1957c5a@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Aug 18, 2020 at 08:22:55PM +0200, Patrik Nilsson wrote: > Hi Greg, > > Thank you for debugging the issue! > > Is there a way to set a speed limit to the device? I mean like setting the > usb-quirks. (i.e. usb-storage.quirks=174c:55aa:u) > > Instead of buying a new enclosing for the drive... :( You can try setting usb-storage.quirks=174c:55aa:g or :m. They will slow down the data transfer rates. The :g flag is used by the uas driver and the :m flag is used by usb-storage. Alan Stern