On Thu, May 08, 2014 at 01:48:43PM +0300, Konstantinos Skarlatos wrote: > On 8/5/2014 4:26 πμ, Wang Shilong wrote: > >This patch adds an option '--check-data-csum' to verify data csums. > >fsck won't check data csums unless users specify this option explictly. > Can this option be added to btrfs restore as well? i think it would be a > good thing if users can tell restore to only recover non-corrupt files. Good idea. From the UI side, I think about adding 3 option variants: * restore all (default) * restore only files with completely valid checksums * dtto invalid checksums The point is to efficiently retrieve files based on their validity, so without the 3rd option, one would have to "subtract" 2 from 1. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
