Re: [PATCH] Btrfs: fix easily get into ENOSPC in mixed case

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

 



> > When a btrfs disk is created by mixed data & metadata option, it will have no
> > pure data or pure metadata space info.
> > 
> > In btrfs's for-linus branch, commit 78b1ea13838039cd88afdd62519b40b344d6c920
> > (Btrfs: fix OOPS of empty filesystem after balance) initializes space infos at
> > the very beginning.  The problem is this initialization does not take the mixed
> > case into account, which will cause btrfs will easily get into ENOSPC in mixed
> > case.
> > 
> > Signed-off-by: Liu Bo <liubo2009@xxxxxxxxxxxxxx>
> > ---
> 
> Tried to apply this patch on top of 2.6.39-rc2 and booted on the same partition.
> It has 3.2 GBs free. With patch it started to report -ENOSPC right out.
> Attempt to delete some files caused OOps:

Sorry, I was too fast. The same OOps is reproducible on vanilla 2.6.39-rc2. Will retest on 2.6.39-rc1.

-- 

  Sergei

Attachment: signature.asc
Description: PGP signature


[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