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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72BBEC433F5 for ; Tue, 19 Oct 2021 07:02:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DD3E611BF for ; Tue, 19 Oct 2021 07:02:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229584AbhJSHEM (ORCPT ); Tue, 19 Oct 2021 03:04:12 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:37748 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234304AbhJSHEJ (ORCPT ); Tue, 19 Oct 2021 03:04:09 -0400 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-out2.suse.de (Postfix) with ESMTPS id B64C41FD8C; Tue, 19 Oct 2021 07:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634626915; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pTtghidN1tUht75ypA/9k1IWjUIifPJNlq2l4MCWTHo=; b=nGsMcbU1JJj5K719zTU3ugI777aw8gwk3L1cXY30VtMjqAX84b+w7YImZVmievlc3TQBJj DG3dDan19ZAsWUUeu3XTr/EseDwk4b6PrRF11+qVyOqEajnXx9ON3comHmkO+L2H/zrlNH +sGCrLQo2ujvs4NjibUFfPRLVPa/qog= 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 6497313F09; Tue, 19 Oct 2021 07:01:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id T51BFWNtbmHmYwAAMHmgww (envelope-from ); Tue, 19 Oct 2021 07:01:55 +0000 Subject: Re: [PATCH v11 10/14] btrfs: add send stream v2 definitions To: Omar Sandoval Cc: linux-btrfs@vger.kernel.org, kernel-team@fb.com, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org References: From: Nikolay Borisov Message-ID: <63d6f4db-be5d-8502-33c8-6944368685a1@suse.com> Date: Tue, 19 Oct 2021 10:01:54 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On 18.10.21 г. 21:58, Omar Sandoval wrote: > I suppose I could do something like this, is that what you had in mind? Yes, however I think it needs to be augmented a bit like making this member populated/checked only if V2 is being used? But that's generally what I had in mind.