Re: [PATCH 4/5] btrfs: Check each block group has corresponding chunk at mount time

2018-07-05 Thread Qu Wenruo
el.org >> Subject: [PATCH 4/5] btrfs: Check each block group has corresponding chunk >> at mount time >> >> A crafted btrfs with incorrect chunk<->block group mapping, it could leads >> to a lot of unexpected behavior. >> >> Although the crafted image

Re: [PATCH 4/5] btrfs: Check each block group has corresponding chunk at mount time

2018-07-03 Thread Nikolay Borisov
On 3.07.2018 12:10, Qu Wenruo wrote: > A crafted btrfs with incorrect chunk<->block group mapping, it could leads > to a lot of unexpected behavior. > > Although the crafted image can be catched by block group item checker > added in "[PATCH] btrfs: tree-checker: Verify block_group_item", if o

RE: [PATCH 4/5] btrfs: Check each block group has corresponding chunk at mount time

2018-07-03 Thread Gu, Jinxiang
> -Original Message- > From: linux-btrfs-ow...@vger.kernel.org > [mailto:linux-btrfs-ow...@vger.kernel.org] On Behalf Of Qu Wenruo > Sent: Tuesday, July 03, 2018 5:10 PM > To: linux-btrfs@vger.kernel.org > Subject: [PATCH 4/5] btrfs: Check each block group has corr

[PATCH 4/5] btrfs: Check each block group has corresponding chunk at mount time

2018-07-03 Thread Qu Wenruo
A crafted btrfs with incorrect chunk<->block group mapping, it could leads to a lot of unexpected behavior. Although the crafted image can be catched by block group item checker added in "[PATCH] btrfs: tree-checker: Verify block_group_item", if one crafted a valid enough block group item which ca