From: Chris Mason <chris.mason@oracle.com>
To: Rekrutacja119 <rekrutacja119@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: too many links when creating 40 000 dirs
Date: Thu, 02 Apr 2009 12:10:24 -0400 [thread overview]
Message-ID: <1238688624.29739.5.camel@think.oraclecorp.com> (raw)
In-Reply-To: <2db2c6b80904020236s447e798esd1109554a4b6d146@mail.gmail.com>
On Thu, 2009-04-02 at 11:36 +0200, Rekrutacja119 wrote:
> i have problems creating more than 39 999 subdirectories in the same
> directory in btrfs. i'm using version from kernel 2.6.29 and
> mkfs.btrfs 0.18
>
> linux:/t # mount|grep btrfs
> /dev/mapper/sys-test on /t type btrfs (rw)
> linux:/t # ls|wc -l
> 31999
> linux:/t # mkdir test123
> mkdir: cannot create directory `test123': Too many links
> linux:/t #
>
> any idea why?
Hmmm, I'm a little surprised, btrfs doesn't actually maintain a link
count for directories. If you use the stat program on /t it should say
the link count is one. (please try this).
The btrfs mkdir call doesn't check the link count either. Could you
please triple check another FS wasn't mounted on top of /t?
-chris
prev parent reply other threads:[~2009-04-02 16:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 9:36 too many links when creating 40 000 dirs Rekrutacja119
2009-04-02 16:10 ` Chris Mason [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=1238688624.29739.5.camel@think.oraclecorp.com \
--to=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=rekrutacja119@gmail.com \
/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