From patchwork Wed Jul 5 23:42:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boris Burkov X-Patchwork-Id: 13303055 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEF95EB64DA for ; Wed, 5 Jul 2023 23:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbjGEXng (ORCPT ); Wed, 5 Jul 2023 19:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232613AbjGEXnf (ORCPT ); Wed, 5 Jul 2023 19:43:35 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A174129; Wed, 5 Jul 2023 16:43:34 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B222C5C0219; Wed, 5 Jul 2023 19:43:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 05 Jul 2023 19:43:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bur.io; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1688600613; x=1688687013; bh=fyiir8Oe13 c5BYoC6MocR2jwwlb1+iuFgB1I7Qe9gs0=; b=Y+uGH9dGGfgkkmuy7t9OiUGv1h gSwuVqPxiuohdyjGa2qv249bA0HPrGy7r8YCHgFMg0/SQep0l2oC4e26Aj66swLh FNBZuQP88VoXViFr+3XnnxpHG24bMjfB3mT0NoNKDYba1hmD6kypLTEgSf66DFHq S9mRxSmX2Dw01M6lndOzd1IfFooPgDyo8woprPicIqnjnAPq7Kt96nwZWi1qzBtJ 2KvoCefcAp5ZNHQfKrCp+pCIcmWsd7JaRBZOrY8k3/UM0E2qHkbmIOf2Nm0TyUQA e3W5EVQsIagW7MdCUdA2a10hss6iiwGPHpb8MksLUvZVDgSY3y1LKA8EIRXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1688600613; x=1688687013; bh=fyiir8Oe13c5BYoC6MocR2jwwlb1 +iuFgB1I7Qe9gs0=; b=eJX3CebBcGAIv8UCDbpP96aMWoV+Qo5NNUAZOpMHY2T/ fTc3OTTCftOadQAf7s5o4lCoH1SqwL/OUvrUwt6R+1AIr+zgjEv0F+Z/zQ7WFEie keISDDPhS9tIqV3xcxf4CUt4LSFsNKlJ1hrKJcEOxa8W8YXgRRkJv09a8CixqgOm 1KUt4x2cGmu8MsBjvGGwTfuRHgroeX59fuNgK2jRfaDB5TRwNd7vlTe+za51wE7I o4tm1dNtk0Ym7+hD9v4ae5ljpGF145y45ZpKP7D9/543YTB7Vn2pCtR7kgiu9uuj irN21ojkBoK+2Ff3Ay6mI14Q7tF9KcIqV3Yx2GN2mA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeeuohhrihhsuceuuhhrkhhovhcuoegsohhrihhssegsuhhrrdhioheq necuggftrfgrthhtvghrnhepieeltdffhffhvddtfeegvdeiteelieejjeeitdfhfeegke ehveehkeejleekgeeknecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsohhrihhssegsuhhrrd hioh X-ME-Proxy: Feedback-ID: i083147f8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 5 Jul 2023 19:43:33 -0400 (EDT) From: Boris Burkov To: linux-btrfs@vger.kernel.org, kernel-team@fb.com, fstests@vger.kernel.org Subject: [PATCH 0/5] btrfs: simple quotas fstests Date: Wed, 5 Jul 2023 16:42:22 -0700 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Add new tests (btrfs/400 for now, but intend to grab a real number before the last version) Also made modifications for passing existing qgroups tests when possible and for passing all tests with simple quota enabled via mkfs and with squota-aware `btrfs check`. btrfs/400 depends on the kernel patchset: https://lore.kernel.org/linux-btrfs/cover.1688597211.git.boris@bur.io/T/#t and the btrfs-progs patchset: https://lore.kernel.org/linux-btrfs/cover.1688599734.git.boris@bur.io/T/#t (and config appropriate binaries to use squota-aware versions) Boris Burkov (5): btrfs/400: new test for simple quotas common/btrfs: quota mode helpers common/btrfs: quota rescan helpers btrfs: use new rescan wrapper btrfs: skip squota incompatible tests common/btrfs | 68 +++++++ tests/btrfs/017 | 1 + tests/btrfs/022 | 1 + tests/btrfs/028 | 2 +- tests/btrfs/057 | 1 + tests/btrfs/091 | 3 +- tests/btrfs/104 | 2 +- tests/btrfs/123 | 2 +- tests/btrfs/126 | 2 +- tests/btrfs/139 | 2 +- tests/btrfs/153 | 2 +- tests/btrfs/171 | 6 +- tests/btrfs/179 | 2 +- tests/btrfs/180 | 2 +- tests/btrfs/190 | 2 +- tests/btrfs/193 | 2 +- tests/btrfs/210 | 2 +- tests/btrfs/224 | 6 +- tests/btrfs/230 | 2 +- tests/btrfs/232 | 2 +- tests/btrfs/400 | 444 ++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/400.out | 2 + 22 files changed, 538 insertions(+), 20 deletions(-) create mode 100755 tests/btrfs/400 create mode 100644 tests/btrfs/400.out