Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755676AbdGXMDq (ORCPT ); Mon, 24 Jul 2017 08:03:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57664 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755332AbdGXMDh (ORCPT ); Mon, 24 Jul 2017 08:03:37 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 24147C025017 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=zkabelac@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 24147C025017 To: LKML , dianders@chromium.org, linux@roeck-us.net, stern@rowland.harvard.edu, gregkh@linuxfoundation.org From: Zdenek Kabelac Subject: USB disk speed regression WD Elements - with bisect result 22547c4cc4fe20698a6a85a55b8788859134b8e4 Organization: Red Hat Message-ID: <0759ca4b-8f0b-1b3e-5073-19433795f325@redhat.com> Date: Mon, 24 Jul 2017 14:03:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 24 Jul 2017 12:03:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1105 Lines: 35 Hi I've problem with my USB storage devices: WD Elements 1TB. (Bus 004 Device 002: ID 1058:10a8 Western Digital Technologies, Inc. Elements Portable (WDBUZG)) After kernel >4.9 when disk is attached via cable it has very low speed (less then 1MB/s). It can run at full speed (>22MB/s) when the Linux kernel is fully rebooted (so disk is attached during the reboot of Lenovo T61, C2D, Fedora Rawhide). However when >4.9 kernel is running and disk is just attached it's very slow. I've played a bisect game - and the clean result has been: 22547c4cc4fe20698a6a85a55b8788859134b8e4 When I just revert this patch with 4.13-rc1 - it's again running with full speed even when disk is attached (thus no reboot is needed for full speed). So while I've no idea what 22547c4cc4fe20698... is doing, it seems to have some unpleasant side-effect on regular USB devices. So what else is needed to get this properly working ? (assuming plain revert of 22547c4cc4fe20698 is unwanted). What more info can I provide to get this storage 'normally' usable without rebooting the machine. Regards Zdenek