linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <josef@redhat.com>
To: John Fremlin <john@fremlin.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS should increase the hard-link in the same directory limit
Date: Mon, 22 Aug 2011 12:06:57 -0400	[thread overview]
Message-ID: <4E527EA1.9040103@redhat.com> (raw)
In-Reply-To: <87ipppa0ti.fsf-genuine-vii@john.fremlin.org>

On 08/22/2011 12:05 PM, John Fremlin wrote:
> Josef Bacik <josef@redhat.com> writes:
>> On 08/21/2011 11:13 AM, John Fremlin wrote:
> [...]
>>> This restriction causes btrfs-convert 0.19 to crash out with a segfault and
>>> no helpful message: something like btrfs-convert: segfault at
>>> ffffffffcfb25fb9 ip 000000000040f9f1 sp 00007fffddefb398 error 6 in
>>> btrfs-convert[400000+21000].
>>>
>>> Is there any plan to alleviate this unfortunate limit (or at least make
>>> btrfs-convert give the location of the file which causes it to fail?).
>>
>> It's a disk format change, something we don't do lightly.
> 
> It would indeed require a disk format change, and hardlinks are always
> tiresome for FS designers ;-)
> 
> I think however that the format change could be designed to only affect
> people who sadly cannot at the moment use BTRFS because of this
> limitation, and be more or less unnoticeable to other people.
> 
> As James points out there are other applications that benefit from being
> able to create many names for the same inode in the same directory, and
> 256 is a very low limit!
> 
> Could this at least be put on the list of things to change? Is there a
> way to vote for it?
> 
> And the fact that btrfs-convert crashes horribly could be fixed without a
> disk-format change. . . 

It's on the list, but there are a lot of other more pressing things then
to allow weird apps to do strange things with hardlinks.  Thanks,

Josef

      reply	other threads:[~2011-08-22 16:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21 15:13 BTRFS should increase the hard-link in the same directory limit John Fremlin
2011-08-21 22:05 ` James Cloos
2011-08-23 15:29   ` David Nicol
2011-08-22 14:54 ` Josef Bacik
2011-08-22 16:05   ` John Fremlin
2011-08-22 16:06     ` Josef Bacik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E527EA1.9040103@redhat.com \
    --to=josef@redhat.com \
    --cc=john@fremlin.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).