From patchwork Thu Dec 7 19:40:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13483926 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="if4/TZMS"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="aOEMmdJE"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="if4/TZMS"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="aOEMmdJE" Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76E810EF; Thu, 7 Dec 2023 11:40:37 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0D0631FB6D; Thu, 7 Dec 2023 19:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M0AyJZPJzU8qQrExlHSfoT/33DnLmbBk/rkQlddp9Vc=; b=if4/TZMSf7/wSzk1o7sWoUKx72UPDfxhP8p9F+tGSvpkAPLXt083kfnLvqSsgTmZDe2HuZ +DPlHrSiNcPVXVv6oZZZOzKiRcQ4UoPwx1/UvNwfb3lNpH1BVW4V/Zvjs0IvzBbD+8Qh3N jN57Yz4jAHRtmu6HPsGG/HOlVu5L7H8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M0AyJZPJzU8qQrExlHSfoT/33DnLmbBk/rkQlddp9Vc=; b=aOEMmdJEVyKAJK0UTZ/0SCZ8uW7H4joFliCbEUaO/jy76qS7d1FbVRW/PaGPWOyKuIND21 Ym2SCnPkKML6mkBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M0AyJZPJzU8qQrExlHSfoT/33DnLmbBk/rkQlddp9Vc=; b=if4/TZMSf7/wSzk1o7sWoUKx72UPDfxhP8p9F+tGSvpkAPLXt083kfnLvqSsgTmZDe2HuZ +DPlHrSiNcPVXVv6oZZZOzKiRcQ4UoPwx1/UvNwfb3lNpH1BVW4V/Zvjs0IvzBbD+8Qh3N jN57Yz4jAHRtmu6HPsGG/HOlVu5L7H8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M0AyJZPJzU8qQrExlHSfoT/33DnLmbBk/rkQlddp9Vc=; b=aOEMmdJEVyKAJK0UTZ/0SCZ8uW7H4joFliCbEUaO/jy76qS7d1FbVRW/PaGPWOyKuIND21 Ym2SCnPkKML6mkBA== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 3123E13B96; Thu, 7 Dec 2023 19:40:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id cJhqCrMfcmVyBQAAn2gu4w (envelope-from ); Thu, 07 Dec 2023 19:40:35 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , Cyril Hrubis , Li Wang , Richard Palethorpe , Jan Stancek , Xiao Yang , Yang Xu , Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org, fstests@vger.kernel.org, Amir Goldstein , Jan Kara Subject: [PATCH v2 1/3] lib: Add Bcachefs magic Date: Thu, 7 Dec 2023 20:40:09 +0100 Message-ID: <20231207194011.273027-2-pvorel@suse.cz> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231207194011.273027-1-pvorel@suse.cz> References: <20231207194011.273027-1-pvorel@suse.cz> Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Level: X-Spam-Score: -0.30 Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -0.30 X-Spamd-Result: default: False [-0.30 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_TWELVE(0.00)[14]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[suse.cz,redhat.com,suse.com,fujitsu.com,linux.dev,vger.kernel.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[37.18%] X-Spam-Flag: NO Signed-off-by: Petr Vorel --- New in v2 include/tst_fs.h | 3 +++ lib/tst_fs_type.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/include/tst_fs.h b/include/tst_fs.h index eb9841165..06f5be896 100644 --- a/include/tst_fs.h +++ b/include/tst_fs.h @@ -34,6 +34,9 @@ #define TST_VFAT_MAGIC 0x4d44 /* AKA MSDOS */ #define TST_EXFAT_MAGIC 0x2011BAB0UL +/* fs/bcachefs/bcachefs_format.h */ +#define TST_BCACHE_MAGIC 0xca451a4e + enum tst_fill_access_pattern { TST_FILL_BLOCKS, TST_FILL_RANDOM diff --git a/lib/tst_fs_type.c b/lib/tst_fs_type.c index d9c9c0817..7f0d61a8e 100644 --- a/lib/tst_fs_type.c +++ b/lib/tst_fs_type.c @@ -36,6 +36,8 @@ const char *tst_fs_type_name(long f_type) return "9p"; case TST_RAMFS_MAGIC: return "ramfs"; + case TST_BCACHE_MAGIC: + return "bcachefs"; case TST_BTRFS_MAGIC: return "btrfs"; case TST_XFS_MAGIC: From patchwork Thu Dec 7 19:40:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13483928 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="bFEGLqym"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="67YvANta"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="S9Jf2AhW"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="wVs3OBRr" Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BCF710E3; Thu, 7 Dec 2023 11:40:40 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C51FE1FBAB; Thu, 7 Dec 2023 19:40:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MjYNJYzgt7He/kBaFAEzfCHeJ5IWmtMCX4BFxvREa3k=; b=bFEGLqymlxNoqpS656W38cJsZ0l4kKJ+KY6cNlMHspizDU0fO+X1l+3sfqXvb1hj3ueatg HpZRuxiIXiW/Hf03tw1p1c58wMbxAezgpXXk5vUX7WuthotPjd2J2zgkhupYyt9dvoWJRR o6utAOUUFmqWCenwgN0yWP2X36Cfsy0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MjYNJYzgt7He/kBaFAEzfCHeJ5IWmtMCX4BFxvREa3k=; b=67YvANta77HWAq9rRwU4v+qBzjJv5kjJjPrx5kSNiJYHjHHoZG95pGYSBilKTRD+zRat6d nQOSPmMyCQZKqAAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MjYNJYzgt7He/kBaFAEzfCHeJ5IWmtMCX4BFxvREa3k=; b=S9Jf2AhWPiguItQz4/pbeDtssBlW6c806eDqtfzhYCipx0h+8HG4N/UdnBOQyvGv+0zQHC ZFmD8pG3pw02Lavtyk9NuhUqV/q0pwwRftG4W1R+svS3Qgm5UvVdj4ZKOW5n5YgscjcWF+ 93o4lcSiw9XH2Rx33tcn4I1g2WPBX1g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MjYNJYzgt7He/kBaFAEzfCHeJ5IWmtMCX4BFxvREa3k=; b=wVs3OBRrGMmhkWA4wyWgIGlyfNmRAGm7uaHfx7Oiso/gmL8KXg4oDyA5JDwVLnmdUCgeIa JqgS0TodH01rnqDw== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 1A5E613907; Thu, 7 Dec 2023 19:40:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id CJeYBLQfcmVyBQAAn2gu4w (envelope-from ); Thu, 07 Dec 2023 19:40:36 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , Cyril Hrubis , Li Wang , Richard Palethorpe , Jan Stancek , Xiao Yang , Yang Xu , Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org, fstests@vger.kernel.org, Amir Goldstein , Jan Kara Subject: [PATCH v2 2/3] lib: Add support bcachefs filesystem to .all_filesystems Date: Thu, 7 Dec 2023 20:40:10 +0100 Message-ID: <20231207194011.273027-3-pvorel@suse.cz> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231207194011.273027-1-pvorel@suse.cz> References: <20231207194011.273027-1-pvorel@suse.cz> Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Level: X-Spam-Score: -1.10 X-Spam-Flag: NO X-Spamd-Result: default: False [0.28 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; R_RATELIMIT(0.00)[to_ip_from(RLecpkqykizks3u9s7xp6n6wei)]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[14]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[lwn.net:url]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[suse.cz,redhat.com,suse.com,fujitsu.com,linux.dev,vger.kernel.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.62)[82.12%] Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: 0.28 bcachefs has been merged into v6.7-rc1 [1]. Let's add it's support to LTP .all_filesystems = 1 and TST_ALL_FILESYSTEMS=1. [1] https://lwn.net/Articles/934692/ Suggested-by: Cyril Hrubis Signed-off-by: Petr Vorel --- The same as in v1 lib/tst_supported_fs_types.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tst_supported_fs_types.c b/lib/tst_supported_fs_types.c index d4911fa3b..369836717 100644 --- a/lib/tst_supported_fs_types.c +++ b/lib/tst_supported_fs_types.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2017 Cyril Hrubis + * Copyright (c) Linux Test Project, 2018-2023 */ #include @@ -24,6 +25,7 @@ static const char *const fs_type_whitelist[] = { "ext4", "xfs", "btrfs", + "bcachefs", "vfat", "exfat", "ntfs", From patchwork Thu Dec 7 19:40:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 13483927 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="FZZ/CALH"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="hVEI9LMe"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="FZZ/CALH"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="hVEI9LMe" Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 734DA10F7; Thu, 7 Dec 2023 11:40:39 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0EAAD1F750; Thu, 7 Dec 2023 19:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DwboQL/DHJSf9SD8lSKa4XQy4oebdMOBMZGqQH9yO8=; b=FZZ/CALHkph1b5c1SRxJdqmZNQc+KWLFOaiztbc82nBynO2SuiXAMHk6JWeMDd7rZuchoT 9uUJkc/SqC7u5oqkw1mr6gbqGRKtnPEOFG9quL7AIr5C+yboStGkr991Df5mkmTZDm2wnw iahatC6iPnAPgdVI9Tfvoi5Q+UjJXSY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DwboQL/DHJSf9SD8lSKa4XQy4oebdMOBMZGqQH9yO8=; b=hVEI9LMeECsG42Xkerv6wMgNRk+ljL53MtapbbWrI7TU7glQSBRSfIVTkJsyfu0mBsNd+c smG8rWRz47OK+mAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DwboQL/DHJSf9SD8lSKa4XQy4oebdMOBMZGqQH9yO8=; b=FZZ/CALHkph1b5c1SRxJdqmZNQc+KWLFOaiztbc82nBynO2SuiXAMHk6JWeMDd7rZuchoT 9uUJkc/SqC7u5oqkw1mr6gbqGRKtnPEOFG9quL7AIr5C+yboStGkr991Df5mkmTZDm2wnw iahatC6iPnAPgdVI9Tfvoi5Q+UjJXSY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1701978038; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DwboQL/DHJSf9SD8lSKa4XQy4oebdMOBMZGqQH9yO8=; b=hVEI9LMeECsG42Xkerv6wMgNRk+ljL53MtapbbWrI7TU7glQSBRSfIVTkJsyfu0mBsNd+c smG8rWRz47OK+mAw== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 3C7A913B96; Thu, 7 Dec 2023 19:40:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id QDG5NLQfcmVyBQAAn2gu4w (envelope-from ); Thu, 07 Dec 2023 19:40:36 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , Cyril Hrubis , Li Wang , Richard Palethorpe , Jan Stancek , Xiao Yang , Yang Xu , Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org, fstests@vger.kernel.org, Amir Goldstein , Jan Kara Subject: [PATCH v2 3/3] statx04: Skip STATX_ATTR_COMPRESSED on Bcachefs Date: Thu, 7 Dec 2023 20:40:11 +0100 Message-ID: <20231207194011.273027-4-pvorel@suse.cz> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231207194011.273027-1-pvorel@suse.cz> References: <20231207194011.273027-1-pvorel@suse.cz> Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spam-Level: X-Spam-Score: -0.30 X-Spam-Flag: NO X-Spamd-Result: default: False [0.90 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; R_RATELIMIT(0.00)[to_ip_from(RLecpkqykizks3u9s7xp6n6wei)]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[14]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[suse.cz,redhat.com,suse.com,fujitsu.com,linux.dev,vger.kernel.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[32.49%] Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: 0.90 STATX_ATTR_COMPRESSED is not supported on Bcachefs, thus skip it (it's already skipped on tmpfs and XFS). Suggested-by: Cyril Hrubis Signed-off-by: Petr Vorel --- New in v2 testcases/kernel/syscalls/statx/statx04.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/syscalls/statx/statx04.c b/testcases/kernel/syscalls/statx/statx04.c index 58296bd24..c2ed52deb 100644 --- a/testcases/kernel/syscalls/statx/statx04.c +++ b/testcases/kernel/syscalls/statx/statx04.c @@ -96,8 +96,9 @@ static void setup(void) for (i = 0, expected_mask = 0; i < ARRAY_SIZE(attr_list); i++) expected_mask |= attr_list[i].attr; - /* STATX_ATTR_COMPRESSED not supported on XFS, TMPFS */ - if (!strcmp(tst_device->fs_type, "xfs") || !strcmp(tst_device->fs_type, "tmpfs")) + /* STATX_ATTR_COMPRESSED not supported on Bcachefs, TMPFS, XFS */ + if (!strcmp(tst_device->fs_type, "bcachefs") || !strcmp(tst_device->fs_type, "tmpfs") || + !strcmp(tst_device->fs_type, "xfs")) expected_mask &= ~STATX_ATTR_COMPRESSED; /* Attribute support was added to Btrfs statx() in kernel v4.13 */