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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2370DC04A94 for ; Thu, 3 Aug 2023 09:44:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233125AbjHCJos (ORCPT ); Thu, 3 Aug 2023 05:44:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234058AbjHCJoY (ORCPT ); Thu, 3 Aug 2023 05:44:24 -0400 Received: from out-97.mta1.migadu.com (out-97.mta1.migadu.com [IPv6:2001:41d0:203:375::61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B80353ABA for ; Thu, 3 Aug 2023 02:44:17 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1691055426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RlouW3YFFaE/nLb2+Vq4gYGLf7SAMMeK3fHcOrMathc=; b=Iq5BYYTzPoX7wzAGlcfAU6i8bfZ48IHNR9scX3fZ3JjZHMOVGDLBumvd+MC+vTyN2P7EX9 qVM+3zLRX1z5torDBVd2X+c4r387ytyCgs04uCRGU9ba7AKgGhzezjvnviBV45+H/8zvOX L1Cm6MpG77U/zromeIU7zCapfMOFFYA= From: Guoqing Jiang To: amir73il@gmail.com, djwong@kernel.org, dchinner@redhat.com, yangx.jy@fujitsu.com Cc: linux-xfs@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 5.10 0/2] Fix xfs/179 for 5.10 stable Date: Thu, 3 Aug 2023 17:36:50 +0800 Message-Id: <20230803093652.7119-1-guoqing.jiang@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi, With the two patches applied, xfs/179 can pass in 5.10.188. Otherwise I got [root@localhost xfstests]# ./check xfs/179 FSTYP -- xfs (non-debug) PLATFORM -- Linux/x86_64 localhost 5.10.188-default #14 SMP Thu Aug 3 15:23:19 CST 2023 MKFS_OPTIONS -- -f /dev/loop1 MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop1 /mnt/scratch xfs/179 1s ... [failed, exit status 1]- output mismatch (see /root/xfstests/results//xfs/179.out.bad) --- tests/xfs/179.out 2023-07-13 16:12:27.000000000 +0800 +++ /root/xfstests/results//xfs/179.out.bad 2023-08-03 16:55:38.173787911 +0800 @@ -8,3 +8,5 @@ Check scratch fs Remove reflinked files Check scratch fs +xfs_repair fails +(see /root/xfstests/results//xfs/179.full for details) ... (Run 'diff -u /root/xfstests/tests/xfs/179.out /root/xfstests/results//xfs/179.out.bad' to see the entire diff) HINT: You _MAY_ be missing kernel fix: b25d1984aa88 xfs: estimate post-merge refcounts correctly Ran: xfs/179 Failures: xfs/179 Failed 1 of 1 tests Please review if they are approriate for 5.10 stable. Thanks, Guoqing Darrick J. Wong (2): xfs: hoist refcount record merge predicates xfs: estimate post-merge refcounts correctly fs/xfs/libxfs/xfs_refcount.c | 146 +++++++++++++++++++++++++++++++---- 1 file changed, 130 insertions(+), 16 deletions(-) -- 2.33.0