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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CC49C433DB for ; Tue, 30 Mar 2021 05:32:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D042F6192F for ; Tue, 30 Mar 2021 05:32:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230244AbhC3Fbd (ORCPT ); Tue, 30 Mar 2021 01:31:33 -0400 Received: from mail107.syd.optusnet.com.au ([211.29.132.53]:53967 "EHLO mail107.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhC3FbD (ORCPT ); Tue, 30 Mar 2021 01:31:03 -0400 Received: from dread.disaster.area (pa49-181-239-12.pa.nsw.optusnet.com.au [49.181.239.12]) by mail107.syd.optusnet.com.au (Postfix) with ESMTPS id 550172428 for ; Tue, 30 Mar 2021 16:31:02 +1100 (AEDT) Received: from discord.disaster.area ([192.168.253.110]) by dread.disaster.area with esmtp (Exim 4.92.3) (envelope-from ) id 1lR6xx-008N43-AL for linux-xfs@vger.kernel.org; Tue, 30 Mar 2021 16:31:01 +1100 Received: from dave by discord.disaster.area with local (Exim 4.94) (envelope-from ) id 1lR6xx-005cnf-13 for linux-xfs@vger.kernel.org; Tue, 30 Mar 2021 16:31:01 +1100 From: Dave Chinner To: linux-xfs@vger.kernel.org Subject: [PATCH 0/4] xfs: fix eager attr fork init regressions Date: Tue, 30 Mar 2021 16:30:55 +1100 Message-Id: <20210330053059.1339949-1-david@fromorbit.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.3 cv=Tu+Yewfh c=1 sm=1 tr=0 cx=a_idp_x a=gO82wUwQTSpaJfP49aMSow==:117 a=gO82wUwQTSpaJfP49aMSow==:17 a=dESyimp9J3IA:10 a=1Tsw_b6L3zzIHSBBH24A:9 Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Hi folks, These are the fixes for the attr fork regressions in the current for-next tree. The got through testing because none of my test regression VMs had selinux enabled on them, while my perf test VMs did. Hence it was never exercised by the fstests runs I did. I've re-enabled selinux on some of my test VMs, and run it through fstests ofor v4 and v5 filesystems with selinux enabled. The first 3 patches are the fixes that address the regressions. The last patch is an optimisation I noticed that avoids recalculating a static, fixed value on every call to xfs_default_attroffset(). It is not needed for the bugs to be fixed, but is definitely a for-next candidate while I'm touching that code again. Cheers, Dave.