From patchwork Wed Jul 24 09:43:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Zhou X-Patchwork-Id: 11056521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 06025138D for ; Wed, 24 Jul 2019 09:43:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA7251FF2D for ; Wed, 24 Jul 2019 09:43:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE83428757; Wed, 24 Jul 2019 09:43:30 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 737A21FF2D for ; Wed, 24 Jul 2019 09:43:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727025AbfGXJn3 (ORCPT ); Wed, 24 Jul 2019 05:43:29 -0400 Received: from mail-pl1-f174.google.com ([209.85.214.174]:34959 "EHLO mail-pl1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbfGXJn0 (ORCPT ); Wed, 24 Jul 2019 05:43:26 -0400 Received: by mail-pl1-f174.google.com with SMTP id w24so21798421plp.2 for ; Wed, 24 Jul 2019 02:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=w4BqOW5YG+Bx/+VkSCqIJQs8GHz1Um7+vVf8YuzOemQ=; b=A1S6Uh99xohjYjut+5YhRX9lQcLWnQHQCTLPHEuXUGukqIA8oYIFTXkppohvjxHYQz x3ocsLiwN+bvSPLElRBCr7/7mZ3LouQK68A3Bh8kbSFSTXrY8U+7Ffp5Kr/Aq/Adnr5+ 2JYvMw5xkYsReTQ914aceJAVrhnRtJnuGTePe3saJLQ7iV10DhjEwIFikVOOGVBlnBpJ +pGBkT9pglQWeCVy6HR5gMBOBhYbIRqCGdGYHrrAkQwb9fGW+57IlXg/MPF3SiCFEeHG QlEcb6L6jM5qP/8iAgZbwFc/i8G29qjnlA8CVVBJZZqpm3CZBedGEFwfWQY+9D2JWn6S q0jw== 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:subject:message-id:mime-version :content-disposition; bh=w4BqOW5YG+Bx/+VkSCqIJQs8GHz1Um7+vVf8YuzOemQ=; b=F3U1L2X4s57fSbT1zYk4QWnmwJZIYXcvOz+Y0uGgb3Nbg2KbphQmmAJ55ZJBmulSJu d6lEzO6nbaCWGRwi91Ou/WDn5EQz1krNa4zmypTLab9ytGrL/C2yWHKZyyn8xgiu7uTK pzJ6KsKSHlIPma8BuHj/lpu9YwwndX9/7tw9a1a2aoKn+ghFu0aHsTO4gWaPOYhJHIXZ gEgUqlEFWVoY606mzHBWnlxie4uE0/a1DUn+JvjPtmogOSkPhwnD/6/N1vmQgSmsFqyL s+dZFkFCPdc0lHNBrAdCB5nlEB4+Ui8pdNDnU7HS1MO3r9gxMtGjLbYooaWh2AmVSjpd aqsA== X-Gm-Message-State: APjAAAVdrnmNgvb9Feuvd+V28HCQKEM5sjrSdTaW+Gt9x19R4Wjs9fdT vuMB4xkB6LbLTzlZQokk24UNUWtP X-Google-Smtp-Source: APXvYqymvcFLwvWfaFG/ZfibSN2sD1Eyvved7KeFgVjkzhTn9AjffyocKJKyhkqYbLwNoqc3sEVTVg== X-Received: by 2002:a17:902:e30d:: with SMTP id cg13mr84550323plb.173.1563961405821; Wed, 24 Jul 2019 02:43:25 -0700 (PDT) Received: from localhost ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id m4sm56460629pgs.71.2019.07.24.02.43.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jul 2019 02:43:25 -0700 (PDT) Date: Wed, 24 Jul 2019 17:43:17 +0800 From: Murphy Zhou To: linux-xfs@vger.kernel.org, linux-nvdimm@lists.01.org Subject: xfs quota test xfs/050 fails with dax mount option and "-d su=2m,sw=1" mkfs option Message-ID: <20190724094317.4yjm4smk2z47cwmv@XZHOUW.usersys.redhat.com> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, As subject. -d su=2m,sw=1 && -o dax fail -d su=2m,sw=1 && NO dax pass no su mkfs option && -o dax pass no su mkfs option && NO dax pass On latest Linus tree. Reproduce every time. Testing on older kernels are going on to see if it's a regression. Is this failure expected ? Thanks, M # fail with 2m su mkfs option and dax mount option: FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 7u 5.3.0-rc1-master-ad5e427+ #126 SMP Wed Jul 24 14:46:09 CST 2019 MKFS_OPTIONS -- -f -f -b size=4096 -d su=2m,sw=1 /dev/pmem1 MOUNT_OPTIONS -- -o dax -o context=system_u:object_r:root_t:s0 /dev/pmem1 /test1 xfs/050 4s ... [05:30:52] [05:30:56]- output mismatch (see /root/xfstests-dev/results//xfs/050.out.bad) --- tests/xfs/050.out 2019-05-07 02:34:03.391107482 -0400 +++ /root/xfstests-dev/results//xfs/050.out.bad 2019-07-24 05:30:56.483044548 -0400 @@ -29,6 +29,7 @@ *** push past the hard block limit (expect EDQUOT) [ROOT] 0 0 0 00 [--------] 3 0 0 00 [--------] 0 0 0 00 [--------] [NAME] =OK= 200 1000 0 [7 days] 10 4 10 00 [7 days] 0 0 0 00 [--------] + URK 99: 2097152 is out of range! [3481600,4096000] *** unmount *** group ... (Run 'diff -u /root/xfstests-dev/tests/xfs/050.out /root/xfstests-dev/results//xfs/050.out.bad' to see the entire diff) Ran: xfs/050 Failures: xfs/050 Failed 1 of 1 tests ~ [root@7u ~]# diff -u /root/xfstests-dev/tests/xfs/050.out /root/xfstests-dev/results//xfs/050.out.bad #Pass without dax: FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 7u 5.3.0-rc1-master-ad5e427+ #126 SMP Wed Jul 24 14:46:09 CST 2019 MKFS_OPTIONS -- -f -f -b size=4096 /dev/pmem1 MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/pmem1 /test1 xfs/050 [05:30:35] [05:30:39] 4s Ran: xfs/050 Passed all 1 tests #Pass without 2m su mkfs option and with dax option: FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 7u 5.3.0-rc1-master-ad5e427+ #126 SMP Wed Jul 24 14:46:09 CST 2019 MKFS_OPTIONS -- -f -f -b size=4096 /dev/pmem1 MOUNT_OPTIONS -- -o dax -o context=system_u:object_r:root_t:s0 /dev/pmem1 /test1 xfs/050 4s ... [05:34:13] [05:34:17] 4s Ran: xfs/050 Passed all 1 tests # Pass with 2m su mkfs option and without dax mount option: FSTYP -- xfs (debug) PLATFORM -- Linux/x86_64 7u 5.3.0-rc1-master-ad5e427+ #126 SMP Wed Jul 24 14:46:09 CST 2019 MKFS_OPTIONS -- -f -f -b size=4096 -d su=2m,sw=1 /dev/pmem1 MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/pmem1 /test1 xfs/050 4s ... [05:36:08] [05:36:12] 4s Ran: xfs/050 Passed all 1 tests --- /root/xfstests-dev/tests/xfs/050.out 2019-05-07 02:34:03.391107482 -0400 +++ /root/xfstests-dev/results//xfs/050.out.bad 2019-07-24 05:30:56.483044548 -0400 @@ -29,6 +29,7 @@ *** push past the hard block limit (expect EDQUOT) [ROOT] 0 0 0 00 [--------] 3 0 0 00 [--------] 0 0 0 00 [--------] [NAME] =OK= 200 1000 0 [7 days] 10 4 10 00 [7 days] 0 0 0 00 [--------] + URK 99: 2097152 is out of range! [3481600,4096000] *** unmount *** group @@ -61,6 +62,7 @@ *** push past the hard block limit (expect EDQUOT) [ROOT] 0 0 0 00 [--------] 3 0 0 00 [--------] 0 0 0 00 [--------] [NAME] =OK= 200 1000 0 [7 days] 10 4 10 00 [7 days] 0 0 0 00 [--------] + URK 99: 2097152 is out of range! [3481600,4096000] *** unmount *** uqnoenforce @@ -157,6 +159,7 @@ *** push past the hard block limit (expect EDQUOT) [ROOT] 0 0 0 00 [--------] 3 0 0 00 [--------] 0 0 0 00 [--------] [NAME] =OK= 200 1000 0 [7 days] 9 4 10 00 [7 days] 0 0 0 00 [--------] + URK 1: 2097152 is out of range! [3481600,4096000] *** unmount *** pqnoenforce