Return-Path: Received: from mail-it0-f65.google.com ([209.85.214.65]:36070 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753523AbdGXTG5 (ORCPT ); Mon, 24 Jul 2017 15:06:57 -0400 Received: by mail-it0-f65.google.com with SMTP id r9so7324600ita.3 for ; Mon, 24 Jul 2017 12:06:57 -0700 (PDT) Subject: Re: [PATCH] Btrfs: Do not use data_alloc_cluster in ssd mode To: Chris Mason , dsterba@suse.cz, Hans van Kranenburg , linux-btrfs@vger.kernel.org References: <20170721114711.20229-1-hans.van.kranenburg@mendix.com> <20170724142508.GW2866@twin.jikos.cz> <25d92d3d-52a8-8763-0936-c891d903c588@fb.com> <20170724184135.GA2866@twin.jikos.cz> From: "Austin S. Hemmelgarn" Message-ID: <779fdedf-1318-bf2d-414d-693168d994d6@gmail.com> Date: Mon, 24 Jul 2017 15:06:53 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 2017-07-24 14:53, Chris Mason wrote: > On 07/24/2017 02:41 PM, David Sterba wrote: >> >> would it be ok for you to keep ssd_working as before? >> >> I'd really like to get this patch merged soon because "do not use ssd >> mode for ssd" has started to be the recommended workaround. Once this >> sticks, we won't need to have any ssd mode anymore ... > > Works for me. I do want to make sure that commits in this area include > the workload they were targeting, how they were measured and what > impacts they had. That way when we go back to try and change this again > we'll understand what profiles we want to preserve. Just thinking long term here, but might it make sense to (eventually) allow the user to tune how big a chunk of space to look for? I know that ext* have options to do this kind of thing, and I think XFS does too (but they do it at filesystem creation time), and I do know people who make use of those to make sure things are working at their absolute best.