João Eduardo Luís wrote: > Hello. > > Can anyone think of a simple way to copy a set of pages from a given file > (which may or may not be scattered throughout multiple extents) from a > snapshot to correct pages within another file on another snapshot? > > This might sound silly, but the whole purpose is to create some sort of > reconciliation method between divergent snapshots taken from the same > original subvolume. >
How about the file clone ioctl? It won't copy data, but it makes the dest file points to the same extents of the source file. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
