Re: [PATCH] btrfs: Allow more disks missing for RAID10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 31, 2019 at 02:58:02PM +0800, Qu Wenruo wrote:
> 
> 
> On 2019/7/26 下午6:39, David Sterba wrote:
> > On Fri, Jul 26, 2019 at 07:41:41AM +0800, Qu Wenruo wrote:
> >>
> >>
> >> On 2019/7/26 上午2:37, David Sterba wrote:
> >>> On Thu, Jul 18, 2019 at 02:27:49PM +0800, Qu Wenruo wrote:
> >>>> RAID10 can accept as much as half of its disks to be missing, as long as
> >>>> each sub stripe still has a good mirror.
> >>>
> >>> Can you please make a test case for that?
> >>
> >> Fstests one or btrfs-progs one?
> > 
> > For fstests.
> 
> OK, that test case in fact exposed a long-existing bug, we can't create
> degraded chunks.
> 
> So if we're replacing the missing devices on a 4 disk RAID10 btrfs, we
> will hit ENOSPC as we can't find 4 devices to fulfill a new chunk.
> And it will finally trigger transaction abort.
> 
> Please discard this patch until we solve that problem.

Ok, done.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux