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=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 CDF8EC4360C for ; Thu, 10 Oct 2019 17:17:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A11CE20659 for ; Thu, 10 Oct 2019 17:17:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20150623.gappssmtp.com header.i=@toxicpanda-com.20150623.gappssmtp.com header.b="UfoizV20" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbfJJRRM (ORCPT ); Thu, 10 Oct 2019 13:17:12 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34934 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbfJJRRL (ORCPT ); Thu, 10 Oct 2019 13:17:11 -0400 Received: by mail-qt1-f194.google.com with SMTP id m15so9823079qtq.2 for ; Thu, 10 Oct 2019 10:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=eZeTm+p6bfTXDgg/P1kHvx7nfAABDRx39fdSdiMpC3w=; b=UfoizV20ORXiGLBA9TZePuKuaRG3yszBWfOR6YjUZ3KUvA2LG2+tTTvqo185kNSDfj YaWxuhMFfjUtnBnu9PeY15tfl1DyXo69us7PkBP2eV8TOPAiz3uzEoDsnon+et+NcSCs owmsAJw3L0w56RlUVHsQG2OpWWhOKPc7t0bwCCe/BO2TgoftBLGGh+A0aOcrkCz9u3fH pFDKWKqYRyyzNw8vRVqJynwpL8bNdyGzJu90gIgO2WCMJqRyFWzDBbfYrwiyHSm0J/hk vUZVIdTVPOrMAEluW7S0/Hsyq7iAcqxutY5VsbAlTaUfVYU/LUY/JZfum4dEVkVW0ns+ Fc6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eZeTm+p6bfTXDgg/P1kHvx7nfAABDRx39fdSdiMpC3w=; b=afNRm3fqWhaJuOc3J7Xv+2KB5BqtIO3Ynvg38iEzMOzt1uwIF+7C0Hv+ZOSUjnwabZ 5US5K+DOwCijhyptYRxP+Fvzf9qovpe8nvB2W+b0h1ink+yb8tHH06hnYOYLs1+dKBJT ufPqmTmxZ6nv4vrroebzNhbpOZdI2bwpLIaeKaSdwAirjwWYIZUOIJm+8DZIsdNA0lV3 GBPhh1C0Kn/lvDHJbz2k9FHblWrgw0zkugCrB/OL8c1AbyOdOvZbAPItxG+u0o4baIuG FX12Z2j3418ikdewbS05MTQ3e4mPAaryMSiAbCgnOqu8pHV27McaWyi+4Hp9AK70GSNb OJLw== X-Gm-Message-State: APjAAAW+qHW9aqqeuNv1WPKwTkiI+L29TsLC8KiZwbS4KeShA4lRAev3 +u8OOcWNmwTO22B28gFr8W44yw== X-Google-Smtp-Source: APXvYqx3g2FjILWCExORWwwoLIgBUpFCoXlsLOGx3g4luiDf775H4qgP26SVN+JUhUSSBouOIdII9g== X-Received: by 2002:ac8:6ede:: with SMTP id f30mr11483610qtv.205.1570727830848; Thu, 10 Oct 2019 10:17:10 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::18ce]) by smtp.gmail.com with ESMTPSA id 64sm2686196qkk.63.2019.10.10.10.17.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2019 10:17:10 -0700 (PDT) Date: Thu, 10 Oct 2019 13:17:08 -0400 From: Josef Bacik To: Dennis Zhou Cc: David Sterba , Chris Mason , Josef Bacik , Omar Sandoval , kernel-team@fb.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 19/19] btrfs: make smaller extents more likely to go into bitmaps Message-ID: <20191010171707.ojldtoqxuz73arev@macbook-pro-91.dhcp.thefacebook.com> References: <03e95dd7b652034541d964d8b9617ec029765575.1570479299.git.dennis@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03e95dd7b652034541d964d8b9617ec029765575.1570479299.git.dennis@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, Oct 07, 2019 at 04:17:50PM -0400, Dennis Zhou wrote: > It's less than ideal for small extents to eat into our extent budget, so > force extents <= 32KB into the bitmaps save for the first handful. > > Signed-off-by: Dennis Zhou Reviewed-by: Josef Bacik Thanks, Josef