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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85F11C77B7A for ; Thu, 1 Jun 2023 07:28:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231661AbjFAH2j (ORCPT ); Thu, 1 Jun 2023 03:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231511AbjFAH2h (ORCPT ); Thu, 1 Jun 2023 03:28:37 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D4FE44 for ; Thu, 1 Jun 2023 00:28:13 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 4F8E267373; Thu, 1 Jun 2023 09:27:57 +0200 (CEST) Date: Thu, 1 Jun 2023 09:27:57 +0200 From: Christoph Hellwig To: Qu Wenruo Cc: Naohiro Aota , Christoph Hellwig , Johannes Thumshirn , "linux-btrfs@vger.kernel.org" Subject: Re: new scrub code vs zoned file systems Message-ID: <20230601072757.GA28794@lst.de> References: <821003e3-b457-90ba-e733-8c2fdd0c3b3c@wdc.com> <20230531133038.GA30855@lst.de> <20230531141739.GA2160@lst.de> <134e56ed-1139-a71c-54d7-b4cbc27834a9@gmx.com> <20230601044034.GA21827@lst.de> <37a62c6c-ca9a-a6d2-37ba-249605427d08@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37a62c6c-ca9a-a6d2-37ba-249605427d08@gmx.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Jun 01, 2023 at 03:21:22PM +0800, Qu Wenruo wrote: > Is there any function that I can go to grab the current writer pointer? You can get the information using blkdev_report_zones, or the "blkzoned report" command from user space.