Re: Mass-Hardlinking Oops

Chris Mason
2009-10-12T20:04:42Z

On Mon, Oct 12, 2009 at 02:17:11PM -0400, jim owens wrote:
> John Dong wrote:
> >
> >I don't think that's a good counterargument for why this is not a bug.
>
> it is not a "bug". hard links are not a required feature of all
> filesystems nor is a defined large number required for those with
> hard links.
>
> >Can't think of any off the top of my head for Linux, but
> >definitely in OS X Time Machine can easily create 200+ hardlinks.
>
> so 311 is 50% than the app uses... plenty of growth.

Just to clarify again, the max link count on btrfs is 2^32. The lower
limit is only in place on links to the same file in the same directory.

Jim is correct about the link count on subdirs being unrelated. The
link count on btrfs directories is always one.

-chris