Re: [PATCH v6.1 04/33] common/rc: skip test if swapon doesn't work

Theodore Ts'o
2025-11-13T15:53:11Z

On Wed, Nov 12, 2025 at 02:29:20PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> In _require_scratch_swapfile, skip the test if swapon fails for whatever
> reason, just like all the other filesystems. There are certain ext4
> configurations where swapon isn't supported, such as S_DAX files on
> pmem, and (for now) blocksize > pagesize filesystems.
>
> Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>

Thanks!!

Reviewed-by: Theodore Ts'o <tytso@mit.edu>