fsstress: add EXCHANGE renameat2 support
authorkaixuxia <xiakaixu1987@gmail.com>
Thu, 31 Oct 2019 06:41:48 +0000 (14:41 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sat, 2 Nov 2019 05:56:16 +0000 (13:56 +0800)
commit65dfd40a97b6bbbd2a22538977bab355c5bc0f06
tree4345f8f6ca43bc73a3b433f0d34403b8ade14caa
parent7f41cf24140cacd09110440cfe1f0b68ae9ba887
fsstress: add EXCHANGE renameat2 support

Support the EXCHANGE renameat2 syscall in fsstress.

In order to maintain filelist/filename integrity, we restrict
rexchange to files of the same type.

Signed-off-by: kaixuxia <kaixuxia@tencent.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
ltp/fsstress.c