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=-5.8 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 96878C64E7B for ; Tue, 1 Dec 2020 11:12:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3981F2084C for ; Tue, 1 Dec 2020 11:12:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="PMBGkepi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730433AbgLALMj (ORCPT ); Tue, 1 Dec 2020 06:12:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727694AbgLALMj (ORCPT ); Tue, 1 Dec 2020 06:12:39 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12E09C0613CF; Tue, 1 Dec 2020 03:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=L4mnwU/HxbxdBQAkJAxSekprtMyJq0YPW8n3YxcjIPs=; b=PMBGkepi6WwfRYp52aqx68zI5x fFdZQsC0L8JEEFNN3aYmdmLtm/o5kwC9tbr9oSkp3BnFOXkTUgKjqkHxiJUunyUIdTZdhPfyL5Uol 5mBeI+QI/GWCiFON552tzQZgDGHs+P5U1Jk1QDi2l4ClSa3w+1EhVYvFR+uGU6OHbyba4/ckTNbHZ NF0a1HRRzgnQ4L4Clvb3kzYPf8psyvrFZZNIBQB3cwiv2G1lUZjEIjsZ7tlw0nnn0HEiYF0LFjrNT zgisq9DL3miUuvvLRR2y7f2MbB4MlXPBA6t99zGVB6z8OC6DN3QiaxbeyuEbXxyDFZbguy4v7o15o LXXGkw1g==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kk3ZS-0007vM-8Y; Tue, 01 Dec 2020 11:11:46 +0000 Date: Tue, 1 Dec 2020 11:11:46 +0000 From: "hch@infradead.org" To: Damien Le Moal Cc: Graham Cobb , Anand Jain , "dsterba@suse.cz" , Naohiro Aota , "linux-btrfs@vger.kernel.org" , "dsterba@suse.com" , "hare@suse.com" , "linux-fsdevel@vger.kernel.org" , Jens Axboe , "hch@infradead.org" , "Darrick J. Wong" , Johannes Thumshirn , Josef Bacik Subject: Re: [PATCH v10 05/41] btrfs: check and enable ZONED mode Message-ID: <20201201111146.GA30215@infradead.org> References: <104218b8d66fec2e4121203b90e7673ddac19d6a.1605007036.git.naohiro.aota@wdc.com> <51c91510-6014-0dee-a456-b50648f48156@oracle.com> <20201127184439.GB6430@twin.jikos.cz> <4a784d16-b325-bf32-5ce5-0718c6bce252@oracle.com> <1dc43899-82de-564f-6e52-bd5b990f3887@cobb.uk.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Dec 01, 2020 at 11:03:35AM +0000, Damien Le Moal wrote: > Well, not really. HA drives, per specifications, are backward compatible. If > they are partitioned, the block layer will force a regular drive mode use, > hiding their zoned interface, which is completely optional to use in the first > place. > > If by "untested territory" you mean the possibility of hitting drive FW bugs > coming from the added complexity of internal GC, then I would argue that this is > a common territory for any FS on any drive, especially SSDs: device FW bugs do > exist and show up from time to time, even on the simplest of drives. Also note that most cheaper hard drives are using SMR internally, you'll run into the same GC "issues" as with a HA drive that is used for random writes.