From patchwork Thu Apr 12 05:07:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 10337885 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 65EF4604D4 for ; Thu, 12 Apr 2018 05:07:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55F5026E38 for ; Thu, 12 Apr 2018 05:07:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AFA926E73; Thu, 12 Apr 2018 05:07:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E361B26E38 for ; Thu, 12 Apr 2018 05:07:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751909AbeDLFHl (ORCPT ); Thu, 12 Apr 2018 01:07:41 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:42371 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112AbeDLFHj (ORCPT ); Thu, 12 Apr 2018 01:07:39 -0400 Received: by mail-pf0-f195.google.com with SMTP id o16so2633394pfk.9 for ; Wed, 11 Apr 2018 22:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=n9iDjYxPQ0uu49SvuMrfQNiUh0KXv0HQA06bFgqymUo=; b=2S/paIFlIRL/x6Rf04YJlDfHe3AtZO4YM8BUCzNyGRWxL1JNBFDEZnguGswNMHeSEi yUuVwMFyw1EDanvw8qzzrdN5sxDxCS4Xe3b6bCc8Ah/LyFShsNzF8FTnzI70SV6rTNui rWBqQrcHiwn2qVK8wz9xovNacXHCuTlj/B0EJpphqPb1vgJO2Gfrkl0NDxSevXOwZrjk dJlHhq4gx0rDdbQQRc38hkF8migj4zUhzDSicENOr/FWVjRA4gvCuvnGvy0PhEaQv6aK MduLeTStH7olT/ZudemZ6DRtRXIlqs9/WwMu+vSZd2olAgKukLgn5Ns/5bTPy8d783Pg vlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=n9iDjYxPQ0uu49SvuMrfQNiUh0KXv0HQA06bFgqymUo=; b=dJgcyfI4S3IxeBCgJMepHDFFTdFtcW1pAhB/6XVEREbSRSCWm6AyWrE1bCRHVqGAZ9 Zu9Oial8gS49vz4B5D/ewtzOVkRBFDfszu9ro0vAkLDsQi+nrtg8z8EBH1fULpV63mYg GbjXeZvy5vP4xwBXeGWQJQ0Xn+l6xlrmbTlp5BEq9tAQ/DUC0TNa+VL6J9UZmAcdgDIh ciQRibI1V8t1GZ4sWjobpL4CtG24l0lPV9oH5roePHHbJGIF1aJ9vasXvH60ts21tWdn u7eAi6fuqnI/sYnV43q8NvN65QSHCWE0oKV3bcLFLQboxuR3ukCz8YsBCPL4NFPA8S1a XlMA== X-Gm-Message-State: ALQs6tAW9ab0m3rsTwHum0UgiswTUMZGDdb9nfvUUPQpYrb1m2CGSXfk jeQgUCeYbQsDVsMAVIt7g4weZQ== X-Google-Smtp-Source: AIpwx49iIi7cgcHBv3eXyR+oGPwTVYT2brUlNnn1N3OAvEQN+l0kgRj0tCx841jyRCYgKu+tpTX7ug== X-Received: by 10.101.101.15 with SMTP id x15mr5630257pgv.322.1523509658498; Wed, 11 Apr 2018 22:07:38 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:180::1:9c88]) by smtp.gmail.com with ESMTPSA id o2sm5163855pgq.87.2018.04.11.22.07.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 22:07:37 -0700 (PDT) From: Omar Sandoval To: linux-btrfs@vger.kernel.org, fstests@vger.kernel.org, Eryu Guan Cc: kernel-team@fb.com Subject: [PATCH v2 2/2] common/rc: raise mixed mode threshold to 1GB Date: Wed, 11 Apr 2018 22:07:29 -0700 Message-Id: <0dfb46a79e393cdb6ef24e567e6c78c8cc230a9a.1523509644.git.osandov@fb.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: In-Reply-To: References: Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Omar Sandoval generic/427 creates a 256 MB filesystem and then writes a 200 MB file, which fails on Btrfs if mixed mode is not enabled. Raise the threshold to 1GB, which is where we typically recommend mixed mode. Signed-off-by: Omar Sandoval Reviewed-by: Dave Chinner --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 5dbb8fe5..dc0062de 100644 --- a/common/rc +++ b/common/rc @@ -999,7 +999,7 @@ _scratch_mkfs_sized() ;; btrfs) local mixed_opt= - (( fssize <= 100 * 1024 * 1024 )) && mixed_opt='--mixed' + (( fssize <= 1024 * 1024 * 1024 )) && mixed_opt='--mixed' $MKFS_BTRFS_PROG $MKFS_OPTIONS $mixed_opt -b $fssize $SCRATCH_DEV ;; jfs)