From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Mon, 29 Jul 2019 15:59:52 +0200 Subject: [LTP] [PATCH v5 2/3] syscalls/copy_file_range01: add cross-device test In-Reply-To: <20190729135627.GA31077@dell5510> References: <20190711125108.GB8709@rei> <1563356676-2384-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> <1563356676-2384-2-git-send-email-xuyang2018.jy@cn.fujitsu.com> <20190729135627.GA31077@dell5510> Message-ID: <20190729135951.GA32069@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi, > Hi, > > Amir has relaxed cross-device constraint since kernel commit 5dae222a5(vfs: > > allow copy_file_range to copy across devices), I think we can test it in > > copy_file_range01. > > Signed-off-by: Yang Xu > > Reviewed-by: Amir Goldstein > Whole patchset LGTM, but here we got quite a lot of failures after increasing > test coverage with .all_filesystems = 1 (which use should be noted in commit > message): > copy_file_range02.c:120: FAIL: copy_file_range failed unexpectedly; expected EOVERFLOW, but got: EINVAL > copy_file_range02.c:126: FAIL: copy_file_range returned wrong value: 16 > ... > copy_file_range02.c:126: FAIL: copy_file_range returned wrong value: 16 I'm sorry this was meant to be sent for v6. > Kind regards, > Petr