Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5545586ybp; Tue, 8 Oct 2019 04:44:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoBPX4l/QrUZ0onW07xz6yWXm1Ch9bmw3cd7tirxJE5MMKI5zGVPdh9br9OmR1YZBxI9pz X-Received: by 2002:a50:a666:: with SMTP id d93mr33143151edc.217.1570535099303; Tue, 08 Oct 2019 04:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570535099; cv=none; d=google.com; s=arc-20160816; b=t8tRW7JNcwIGqGhRNzzr/axIT5KOqAF/3ezs/lUBGzhmp73ZR2fyqqJGGms+pF3kFk kJk7DJ3uD+VqK1ycdjCoLiNZ2wewYNyQXKUbBBBbFGT8AXuEb6XCeIdO5G8gOmo/INQg zlANVBCMVXG7g71W4NLndsab9FZNZpH58GL5hAw5LQwBadVHMT0yoNlUAo+Rf8zS7r4L t4MyWfqgwCw/B5eLwLnRdUbZBDXSqPZanKBmRTvNhLRXjRNkftjT5AvNIOm1Y/z3aNS+ jexTciObP9RsUJAVTCHjSL2lNg/Mp3+SgtGaspN0n0sakaY3YoBb0/bUvdsIG69GPKF0 2E4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=+bTgKsbOKWK5NwPAsDbmqOHcgv4Hy3Afb0X8RZZiQNg=; b=VdDesjuXHg/QPUVgx4XXfNjCiaqfYbWNIp+lt6Yt5PVPsCVM1xImFAtrA0VUS6kftQ 5/jGr1gAxYaRLGP0PjOAeVv5LOxNty1ElFBD70edZJIXZXe956ZgCIGpmYMaJDCZbjWz X/Rom6yNp8v+5U3HKYZfnPwhWcyEF2EQBZeoT9rnGdY/aSE2BFEgJRjnayz2ZhRNEkQg dRHRCFbijL457gbRITq/BufJSp158iIqCznTVPLDZBZG+qJbXrUB2H0yTRp7dW47XlkG XYURWRdLrdGY3+LwpDyd6upa6iVZ5VmSwaOENe5An/AQ7HrikrWZcyXGcJuZUmD5uiv1 2AkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w14si9784999edx.197.2019.10.08.04.44.35; Tue, 08 Oct 2019 04:44:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730740AbfJHLnm (ORCPT + 99 others); Tue, 8 Oct 2019 07:43:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:53120 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730530AbfJHLnm (ORCPT ); Tue, 8 Oct 2019 07:43:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4CC65AC8C; Tue, 8 Oct 2019 11:43:40 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 50031DA7FB; Tue, 8 Oct 2019 13:43:55 +0200 (CEST) Date: Tue, 8 Oct 2019 13:43:55 +0200 From: David Sterba To: Marcos Paulo de Souza Cc: dsterba@suse.com, clm@fb.com, Josef Bacik , "open list:BTRFS FILE SYSTEM" , open list Subject: Re: [PATCH] btrfs: block-group: Rework documentation of check_system_chunk function Message-ID: <20191008114355.GO2751@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Marcos Paulo de Souza , dsterba@suse.com, clm@fb.com, Josef Bacik , "open list:BTRFS FILE SYSTEM" , open list References: <20191008005038.12333-1-marcos.souza.org@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191008005038.12333-1-marcos.souza.org@gmail.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 07, 2019 at 09:50:38PM -0300, Marcos Paulo de Souza wrote: > Commit 4617ea3a52cf (" Btrfs: fix necessary chunk tree space calculation > when allocating a chunk") removed the is_allocation argument from > check_system_chunk, since the formula for reserving the necessary space > for allocation or removing a chunk would be the same. > > So, rework the comment by removing the mention of is_allocation > argument. > > Signed-off-by: Marcos Paulo de Souza Added to misc-next, thanks.