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=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 EA409C2D0A3 for ; Mon, 9 Nov 2020 10:13:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9932220684 for ; Mon, 9 Nov 2020 10:13:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="rKb3G1pK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbgKIKNn (ORCPT ); Mon, 9 Nov 2020 05:13:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:45740 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgKIKNm (ORCPT ); Mon, 9 Nov 2020 05:13:42 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1604916822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8e3bxkXwQ0VIQETueqJwv7iFSBsZBn43KllGQCC1g7M=; b=rKb3G1pKBFeqIZBsbhpsI+0zsEXGR08tZFXkFuc5Oq80+uDQ5S/mbcSakmRCg7DCQLNCCc 4mF3rvgg6qVE9NP2UaasVR3VDxb8IPnc/I6SI263h/lB6KEcxjwu7IT4rIivMC7FQRi9vS HsARqdI36Mvz/QQv57BQFxE1dqzXSIo= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E33B5ABCC; Mon, 9 Nov 2020 10:13:41 +0000 (UTC) Message-ID: Subject: Re: Issues with LaCie USB3 drive and UAS From: Oliver Neukum To: "David C. Partridge" , linux-usb@vger.kernel.org Date: Mon, 09 Nov 2020 11:13:34 +0100 In-Reply-To: <001601d6b67d$e97a1e30$bc6e5a90$@perdrix.co.uk> References: <004f01d6b5bd$d4f08ff0$7ed1afd0$@perdrix.co.uk> <001601d6b67d$e97a1e30$bc6e5a90$@perdrix.co.uk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Am Montag, den 09.11.2020, 09:51 +0000 schrieb David C. Partridge: > I'm sure you are right in your diagnosis (absent any knowledge to the contrary). It is a guess, merely. Based on long woefull experience with the quality of some hardware. > Now what's the treatment? Use WRITE, not WRITE SAME. That is a task of the SCSI layer, not UAS. > Would uas black-list provide a work-araound? If so a detailed recipe will be needed by me ... Indirectly. The storage driver sets no_write_same. UAS does not. It looks like UAS will need a kernel patch for that. > Fix to the code? Ideal, but takes lots longer, so a work-around may be needed for a while Very well. For experimentation, please try blacklisting UAS. If that fails I have guessed wrong. If it works, I will make a test patch. Regards Oliver