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 05C13C433F5 for ; Fri, 7 Oct 2022 17:16:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229459AbiJGRQR (ORCPT ); Fri, 7 Oct 2022 13:16:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiJGRQQ (ORCPT ); Fri, 7 Oct 2022 13:16:16 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8335CD019F for ; Fri, 7 Oct 2022 10:16:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3A4F1210EB; Fri, 7 Oct 2022 17:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1665162973; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IHa5GxG1SR99Lt2SLTHjhHOyjgrBuzUw5BLsOAniuk8=; b=mPnKh7XJh8IKtVQqeTOqeb1wSYszwga0U2Z3lFu/UFuXf7c52XcGUkuzFGryYbn9u0hw/S GMaZ9+Z3qPxO0vK4T7ECbruhslmukLXuIfI3AifYQO9z3ZMQUC0BuCpVekp/kYXUqQNh5C t6trkQOzDSjDbs62Gtv9j6tyP889s0k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1665162973; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IHa5GxG1SR99Lt2SLTHjhHOyjgrBuzUw5BLsOAniuk8=; b=Vh7nX9nvWOKcbyXC8r8JCm365G3DrtFMtrlVVEtwT13J82kbpzUPlYNalkdw1Xk5Owsxld uuh6a3vDadtnEPDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1034313A9A; Fri, 7 Oct 2022 17:16:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id nzXlAt1eQGNtVgAAMHmgww (envelope-from ); Fri, 07 Oct 2022 17:16:13 +0000 Date: Fri, 7 Oct 2022 19:16:09 +0200 From: David Sterba To: Josef Bacik Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 08/17] btrfs: move discard stat defs to free-space-cache.h Message-ID: <20221007171609.GX13389@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <5e7f34e068513a3a82b3bc810bc92a0eb0254863.1663167823.git.josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e7f34e068513a3a82b3bc810bc92a0eb0254863.1663167823.git.josef@toxicpanda.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Wed, Sep 14, 2022 at 11:06:32AM -0400, Josef Bacik wrote: > These definitions are used for discard statistics, move them out of > ctree.h and put them in free-space-cache.h. Maybe it's in another patchset, but I'll note it here, there are some discard related defitions in ctree.h so the BTRFS_STAT_* should go there once we have such header.