From mboxrd@z Thu Jan 1 00:00:00 1970 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.8 required=3.0 tests=BAYES_00, 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 35575C64E7C for ; Wed, 2 Dec 2020 15:56:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0E87217A0 for ; Wed, 2 Dec 2020 15:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728108AbgLBP4L (ORCPT ); Wed, 2 Dec 2020 10:56:11 -0500 Received: from vps.thesusis.net ([34.202.238.73]:52080 "EHLO vps.thesusis.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728056AbgLBP4L (ORCPT ); Wed, 2 Dec 2020 10:56:11 -0500 Received: from localhost (localhost [127.0.0.1]) by vps.thesusis.net (Postfix) with ESMTP id 84D1B2DC68; Wed, 2 Dec 2020 10:55:30 -0500 (EST) Received: from vps.thesusis.net ([IPv6:::1]) by localhost (vps.thesusis.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id tL-FDhZZOX4X; Wed, 2 Dec 2020 10:55:30 -0500 (EST) Received: by vps.thesusis.net (Postfix, from userid 1000) id 496D62DC6A; Wed, 2 Dec 2020 10:55:30 -0500 (EST) References: <87r1o9phgd.fsf@vps.thesusis.net> <20201202150330.GA25031@infradead.org> User-agent: mu4e 1.5.6; emacs 26.3 From: Phillip Susi To: Christoph Hellwig Cc: linux-ide@vger.kernel.org Subject: Re: Drive reset as an EH strategy when write cache is enabled In-reply-to: <20201202150330.GA25031@infradead.org> Date: Wed, 02 Dec 2020 10:55:30 -0500 Message-ID: <87blfc19u5.fsf@vps.thesusis.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Christoph Hellwig writes: > If the device drops the content of the volatile write on a reset we'll > have much problems than that.. How could it not? The write cache is empty after a power on reset and certainly a "hard" reset should be the same as a power on reset.