Re: [PATCH] Btrfs-progs: fsck: add an option to check data csums

2014-05-27 Thread Wang Shilong
On 05/16/2014 11:40 PM, David Sterba wrote: On Thu, May 08, 2014 at 09:26:49AM +0800, 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. Nice. +static int read_extent_data(struct

Re: [PATCH] Btrfs-progs: fsck: add an option to check data csums

2014-05-16 Thread David Sterba
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

Re: [PATCH] Btrfs-progs: fsck: add an option to check data csums

2014-05-08 Thread Konstantinos Skarlatos
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

[PATCH] Btrfs-progs: fsck: add an option to check data csums

2014-05-07 Thread Wang Shilong
This patch adds an option '--check-data-csum' to verify data csums. fsck won't check data csums unless users specify this option explictly. Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com --- Documentation/btrfs-check.txt | 2 + cmds-check.c | 122