Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-25 Thread David Sterba
On Wed, Aug 20, 2014 at 10:34:53AM +0800, Qu Wenruo wrote: Although as mentioned in the reply to David, the main problem is that I found two disk images with crazy values in superblock and wrong csum, but generation is still 4, and ignoring the csum error caused kernel BUG. Can you please

Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-19 Thread David Sterba
On Thu, Aug 07, 2014 at 10:51:15AM +0800, Qu Wenruo wrote: It seems that the patch is rejected in patchwork, It was not me :) Could any one tell me the reason? I'd understand that the patch is no longer needed after the original problem went away, but it's not what you describe in your

Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-19 Thread Chris Mason
On 08/06/2014 10:51 PM, Qu Wenruo wrote: It seems that the patch is rejected in patchwork, Could any one tell me the reason? I had nack'd it because I was worried at the time about the super crc errors that Dave had found in the past. Sorry, I really thought I had sent email about it. But

Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-19 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10. From: David Sterba dste...@suse.cz To: Qu Wenruo quwen...@cn.fujitsu.com Date: 2014年08月20日 01:18 On Thu, Aug 07, 2014 at 10:51:15AM +0800, Qu

Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-19 Thread Qu Wenruo
Original Message Subject: Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10. From: Chris Mason c...@fb.com To: Qu Wenruo quwen...@cn.fujitsu.com, linux-btrfs@vger.kernel.org Date: 2014年08月20日 03:48 On 08/06/2014 10:51

Re: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-08-06 Thread Qu Wenruo
It seems that the patch is rejected in patchwork, Could any one tell me the reason? Thanks, Qu Original Message Subject: [PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10. From: Qu Wenruo quwen...@cn.fujitsu.com To: linux

[PATCH] btrfs: Don't continue mounting when superblock csum mismatches even generation is less than 10.

2014-06-24 Thread Qu Wenruo
Revert kernel commit 667e7d94a1683661cff5fe9a0fa0d7f8fdd2c007. (Btrfs: allow superblock mismatch from older mkfs by Chris Mason) Above commit will cause disaster if someone try to mount a newly created but later corrupted btrfs filesystem. And before btrfs entered mainline, btrfs-progs has