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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 D7D0FC3A5A2 for ; Fri, 23 Aug 2019 13:02:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AC46022CEC for ; Fri, 23 Aug 2019 13:02:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404035AbfHWNCj (ORCPT ); Fri, 23 Aug 2019 09:02:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:48798 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732009AbfHWNCj (ORCPT ); Fri, 23 Aug 2019 09:02:39 -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 91A35AE99; Fri, 23 Aug 2019 13:02:38 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 91785DA796; Fri, 23 Aug 2019 15:03:03 +0200 (CEST) Date: Fri, 23 Aug 2019 15:03:03 +0200 From: David Sterba To: Josef Bacik Cc: kernel-team@fb.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 0/2][v2] Rework the worst case calculations for space reservation Message-ID: <20190823130303.GP2752@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Josef Bacik , kernel-team@fb.com, linux-btrfs@vger.kernel.org References: <20190822191434.13800-1-josef@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190822191434.13800-1-josef@toxicpanda.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Aug 22, 2019 at 03:14:32PM -0400, Josef Bacik wrote: > v1->v2: > - dropped "btrfs: global reserve fallback should use metadata_size", turns out > I was testing without my evict changes in place so we don't even need this in > the first place, but it is also wrong because we need to reserve space for the > orphan item which is an insert. As the evict patches are in misc-next now and this patchset applies cleanly I'll add it directly to misc-next. Thanks.