]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - configure.ac
xfs_io/encrypt: support specifying crypto data unit size
authorEric Biggers <ebiggers@google.com>
Fri, 13 Oct 2023 06:26:39 +0000 (23:26 -0700)
committerCarlos Maiolino <cem@kernel.org>
Mon, 18 Dec 2023 13:57:48 +0000 (14:57 +0100)
commite97caf714697a90e9972a9acada73d37b3455230
tree3576ac3657a819c3946ceaec01ed3d09ce107436
parentb1de312818e2fdcba5443d34fa7462b3df80babd
xfs_io/encrypt: support specifying crypto data unit size

Add an '-s' option to the 'set_encpolicy' command of xfs_io to allow
exercising the log2_data_unit_size field that is being added to struct
fscrypt_policy_v2 (kernel patch:
https://lore.kernel.org/linux-fscrypt/20230925055451.59499-6-ebiggers@kernel.org).

The xfs_io support is needed for xfstests
(https://lore.kernel.org/fstests/20231013061403.138425-1-ebiggers@kernel.org),
which currently relies on xfs_io to access the encryption ioctls.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Carlos Maiolino <cem@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
configure.ac
include/builddefs.in
io/encrypt.c
m4/package_libcdev.m4
man/man8/xfs_io.8