On Tue, May 29, 2012 at 02:09:03PM +0100, Martin wrote: > Thanks for noting this one. That is one very surprising and unexpected > limit!... And a killer for some not completely rare applications...
There have been substantially-complete patches posted to this list which fix the problem (see "extended inode refs" patches by Mark Fasheh in the archives). I don't think they're quite ready for inclusion yet, but work is ongoing to fix the issue. > On 26/05/12 19:22, Sami Liedes wrote: > > Hi! > > > > I see that Linux 3.4 supports bigger metadata blocks for btrfs. > > > > Will using them allow a bigger number of hardlinks on a single file > > (i.e. the bug that has bitten at least git users on Debian[1,2], and > > BackupPC[3])? As far as I understand correctly, the problem has been > > that the hard links are stored in the same metadata block with some > > other metadata, so the size of the block is an inherent limitation? > > > > If so, I think it would be worth for me to try Btrfs again :) > > > > Sami > > > > > > [1] http://permalink.gmane.org/gmane.comp.file-systems.btrfs/13603 > > [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642603 > > [3] https://bugzilla.kernel.org/show_bug.cgi?id=15762 > > One example fail case is just 13 hard links. Even x4 that (16k blocks) > only gives 52 links for that example fail case. > > > The brief summary for those are: > > * It's a rare corner case that needs a format change to fix, so "won't-fix"; Definitely not "won't-fix" (see above). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great oxymorons of the world, no. 7: The Simple Truth ---
signature.asc
Description: Digital signature