]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/atomicwrites: add helper for multi block atomic writes
authorCatherine Hoang <catherine.hoang@oracle.com>
Thu, 26 Jun 2025 00:27:33 +0000 (17:27 -0700)
committerZorro Lang <zlang@kernel.org>
Sun, 29 Jun 2025 15:18:45 +0000 (23:18 +0800)
commit8d87273e43f1cb1bf2542697056c1f6461c399a0
treeaaa7aff60c42a68bc4ae7728dbf393a714c04027
parentde07c1558ce0f3bb32d493ec244e19beecc93379
common/atomicwrites: add helper for multi block atomic writes

Add a helper to check that we can perform multi block atomic writes. We will
use this in the following patches that add testing for large atomic writes.
This helper will prevent these tests from running on kernels that only support
single block atomic writes.

Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/atomicwrites