Thread (5 messages) 5 messages, 4 authors, 2021-09-29

Re: [PATCH] fstests: btrfs/248: test if btrfs receive can handle clone command on inodes with different NODATASUM flags

From: Nikolay Borisov <hidden>
Date: 2021-09-29 06:45:40
Also in: fstests


On 29.09.21 г. 3:44, Qu Wenruo wrote:
The planned fix is titled "btrfs-progs: receive: fallback to buffered
copy if clone failed".

The test case itself will create two send streams, and the 2nd stream is
an incremental stream with a clone command in it.

Using different mount options we are able to create a situation where
clone source and destination have different NODATASUM flags, which is
prohibited inside btrfs.

The planned fix will make btrfs receive to fall back to buffered write
to copy the data from the source file.

Signed-off-by: Qu Wenruo <redacted>
If this is fixed by btrfs-progs fix shouldn't the test be part of
btrfs-progs and not the kernel test suite?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help