Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-10 Thread Qu Wenruo
On 2017年11月10日 08:54, Qu Wenruo wrote: > > > On 2017年11月10日 08:12, Liu Bo wrote: >> On Thu, Nov 09, 2017 at 05:29:25PM +0800, Anand Jain wrote: >>> >>> >>> On 11/09/2017 03:53 AM, Liu Bo wrote: On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: > > > On 11/02/2017 08:5

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-09 Thread Qu Wenruo
On 2017年11月10日 08:12, Liu Bo wrote: > On Thu, Nov 09, 2017 at 05:29:25PM +0800, Anand Jain wrote: >> >> >> On 11/09/2017 03:53 AM, Liu Bo wrote: >>> On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: On 11/02/2017 08:54 AM, Liu Bo wrote: > With raid6 profile, btrfs can

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-09 Thread Liu Bo
On Thu, Nov 09, 2017 at 05:29:25PM +0800, Anand Jain wrote: > > > On 11/09/2017 03:53 AM, Liu Bo wrote: > >On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: > >> > >> > >>On 11/02/2017 08:54 AM, Liu Bo wrote: > >>>With raid6 profile, btrfs can end up with data corruption by the > >>>fol

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-09 Thread Qu Wenruo
On 2017年11月09日 17:29, Anand Jain wrote: > > > On 11/09/2017 03:53 AM, Liu Bo wrote: >> On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: >>> >>> >>> On 11/02/2017 08:54 AM, Liu Bo wrote: With raid6 profile, btrfs can end up with data corruption by the following steps. >

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-09 Thread Anand Jain
On 11/09/2017 03:53 AM, Liu Bo wrote: On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: On 11/02/2017 08:54 AM, Liu Bo wrote: With raid6 profile, btrfs can end up with data corruption by the following steps. Say we have a 5 disks that are set up with raid6 profile, 1) mount this

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-08 Thread Liu Bo
On Tue, Nov 07, 2017 at 04:32:55PM +0800, Anand Jain wrote: > > > On 11/02/2017 08:54 AM, Liu Bo wrote: > >With raid6 profile, btrfs can end up with data corruption by the > >following steps. > > > >Say we have a 5 disks that are set up with raid6 profile, > > > >1) mount this btrfs > >2) one dis

Re: [PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-07 Thread Anand Jain
On 11/02/2017 08:54 AM, Liu Bo wrote: With raid6 profile, btrfs can end up with data corruption by the following steps. Say we have a 5 disks that are set up with raid6 profile, 1) mount this btrfs 2) one disk gets pulled out 3) write something to btrfs and sync 4) another disk gets pulled ou

[PATCH 2/4] Btrfs: fix data corruption in raid6

2017-11-01 Thread Liu Bo
With raid6 profile, btrfs can end up with data corruption by the following steps. Say we have a 5 disks that are set up with raid6 profile, 1) mount this btrfs 2) one disk gets pulled out 3) write something to btrfs and sync 4) another disk gets pulled out 5) write something to btrfs and sync 6)