[LTP] copy_file_range() errno changes introduced in v5.3-rc1
Petr Vorel
pvorel@suse.cz
Fri Sep 27 10:25:10 CEST 2019
Hi Amir,
> > LTP hasn't defined yet any policy about changing errnos,
> > as it's probably best to check whether change was intentional
> > (like your obvious fixes) or not.
> IIUC, copy_file_range02 was written after v5.3 changes to verify that
> copy_file_range
> stays unbroken.
> As such, I would suggest that you check if kernel supports cross-fs copy, like
> copy_file_range01 does and if it doesn't, skip the test entirely.
> If some one ever backports cross-fs copy to any distro stable kernel, then one
> would better also backkport all of those API fixes, otherwise test will fail.
Thanks for a tip, I'll send a patch today.
> Thanks,
> Amir.
Kind regards,
Petr
More information about the ltp
mailing list