]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add a test case for the logical to ino ioctl
authorFilipe Manana <fdmanana@suse.com>
Tue, 9 May 2023 11:52:05 +0000 (12:52 +0100)
committerZorro Lang <zlang@kernel.org>
Fri, 12 May 2023 12:20:07 +0000 (20:20 +0800)
commitf635f9c3153cfd1e27bec7581eb717d63a190269
tree1aaabd9470f562d525040b7b364573f7328df930
parenta580ecd1dfc6fb83d8883a4231f89137488d8bbc
btrfs: add a test case for the logical to ino ioctl

Add a test case to exercise the logical to ino ioctl, including the v2
version (which adds the ignore offset option). This is motivated by the
fact that we have no test cases giving full coverage to that ioctl, only
two test cases partially exercise it (btrfs/004 and btrfs/299) and
absolutely no coverage for the v2 ioctl. This resulted in a recent
regression fixed by the patch mentioned in the _fixed_by_kernel_commit
tag of the introduced test case.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/btrfs
tests/btrfs/287 [new file with mode: 0755]
tests/btrfs/287.out [new file with mode: 0644]