Linux EXT4 FS development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: arzuagapozosergio@gmail.com
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: [PATCH v8] ext4: bound xattr journal credits to transaction limit
Date: Wed, 25 Nov 2026 07:16:18 +0000	[thread overview]
Message-ID: <sashiko-outbox-232766@kernel.org> (raw)
In-Reply-To: <20261125070002.27868-1-arzuagapozosergio@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] selftests/ext4: missing skip when POSIX ACLs are unsupported
--

commit 192ecd2babbed3287e070bdb6ff5a60be8553a9b
Author: Ryuji Hiroshi <arzuagapozosergio@gmail.com>

ext4: bound xattr journal credits to transaction limit

This commit drops obsolete journal credit reservations for releasing old
ea_inodes, bounds xattr and new-inode journal credit estimates against the
JBD2 transaction limit, and adds ext4 selftests for these paths.

Link: https://syzbot.org/bug?extid=25d45c0bd716f2b794a7

> diff --git a/tools/testing/selftests/filesystems/ext4/ext4_xattr_journal_credits.c b/tools/testing/selftests/filesystems/ext4/ext4_xattr_journal_credits.c
> new file mode 100644
> index 0000000000000..450fd52121022
> --- /dev/null
> +++ b/tools/testing/selftests/filesystems/ext4/ext4_xattr_journal_credits.c
> @@ -0,0 +1,238 @@

[ ... ]

> +TEST_F(ext4_xattr_journal_credits, large_default_acl_respects_journal_limit)
> +{
> +	static const char small_value[] = "filesystem-still-writable";
> +	size_t acl_size;
> +	char *acl = make_large_default_acl(&acl_size);
> +	int ret;
> +
> +	ASSERT_NE(NULL, acl);
> +	ASSERT_EQ(0, mkdir(self->path, 0700));
> +	ASSERT_EQ(0, setxattr(self->path, "system.posix_acl_default", acl,
> +			      acl_size, 0));

[Severity: Low]
Should this skip the test with SKIP() when setxattr() fails with
errno == EOPNOTSUPP?  When the kernel is built without
CONFIG_EXT4_FS_POSIX_ACL, setting "system.posix_acl_default" returns
EOPNOTSUPP and this assertion fails the test instead of skipping for the
missing config prerequisite.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125070002.27868-1-arzuagapozosergio@gmail.com?part=1

  reply	other threads:[~2026-11-25  7:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  7:53 [PATCH] ext4: bound xattr journal credits to transaction limit arzuagapozosergio
2026-11-22  8:09 ` sashiko-bot
2026-11-22  8:49 ` [PATCH v2] " arzuagapozosergio
2026-11-22  9:09   ` sashiko-bot
2026-11-22  9:37   ` [PATCH v3] " arzuagapozosergio
2026-11-22  9:53     ` sashiko-bot
2026-11-24 12:38     ` Jan Kara
2026-11-25  4:51     ` [PATCH v4] " arzuagapozosergio
2026-11-25  5:09       ` sashiko-bot
2026-11-25  5:19       ` [PATCH v5] " arzuagapozosergio
2026-11-25  5:39         ` sashiko-bot
2026-11-25  6:01         ` [PATCH v6] " arzuagapozosergio
2026-11-25  6:23           ` sashiko-bot
2026-11-25  6:30           ` [PATCH v7] " arzuagapozosergio
2026-11-25  6:47             ` sashiko-bot
2026-11-25  7:00             ` [PATCH v8] " arzuagapozosergio
2026-11-25  7:16               ` sashiko-bot [this message]
2026-11-25  7:20               ` [PATCH v9] " arzuagapozosergio
2026-11-25  7:37                 ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-232766@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=arzuagapozosergio@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox