mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ce9707ccd0
Overlayfs with nfs_export enabled, indexes all directories on copy up. Directory index is requires for decoding lower directory file handles in case ancestors have been renamed. When enabling nfs_export on an overlay that already has non-indexed merge dirs, the possibility of non-indexed ancestor rename requires special handling when encoding lower directory file handles. - Check encode/decode/read file handles of non-indexed merge dir - Check encode/decode/read file handles of dir with non-indexed parent - Check encode/decode/read file handles of dir with non-indexed grandparent - Check decode/read of file handles after rename of non-indexed merge dir - Check decode/read of file handles after rename of non-indexed parent - Check decode/read of file handles after rename of non-indexed grandparent This test requires and enables overlayfs NFS export support and merge dir rename support (redirect_dir). NFS export support depends on and requires overlayfs index feature. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
12 lines
671 B
Plaintext
12 lines
671 B
Plaintext
QA output created by 054
|
|
test_file_handles SCRATCH_MNT/merged -p -o merged_file_handles
|
|
test_file_handles SCRATCH_MNT/merged/dir -p -o dir_file_handles
|
|
test_file_handles SCRATCH_MNT/merged/dir/subdir -p -o subdir_file_handles
|
|
test_file_handles SCRATCH_MNT/merged/parent/child -p -o child_file_handles
|
|
test_file_handles SCRATCH_MNT -rp -i merged_file_handles
|
|
test_file_handles SCRATCH_MNT -rp -i dir_file_handles
|
|
test_file_handles SCRATCH_MNT -rp -i subdir_file_handles
|
|
test_file_handles SCRATCH_MNT -rp -i child_file_handles
|
|
test_file_handles SCRATCH_MNT/merged.new/dir -rp -i subdir_file_handles
|
|
test_file_handles SCRATCH_MNT/merged.new/parent -rp -i child_file_handles
|