linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers3@gmail.com>
To: Theodore Ts'o <tytso@mit.edu>
Cc: Artem Blagodarenko <artem.blagodarenko@gmail.com>,
	linux-ext4@vger.kernel.org, adilger.kernel@dilger.ca,
	alexey.lyashkov@gmail.com, Yang Sheng <yang.sheng@intel.com>,
	Artem Blagodarenko <artem.blagodarenko@seagate.com>
Subject: Re: [PATCH] Add largedir feature
Date: Mon, 1 May 2017 11:58:24 -0700	[thread overview]
Message-ID: <20170501185824.GB30027@gmail.com> (raw)
In-Reply-To: <20170430005953.m74yjettitj7mzr6@thunk.org>

On Sat, Apr 29, 2017 at 08:59:53PM -0400, Theodore Ts'o wrote:
> On Thu, Mar 16, 2017 at 05:51:17AM -0400, Artem Blagodarenko wrote:
> > From: Artem Blagodarenko <artem.blagodarenko@gmail.com>
> > 
> > This INCOMPAT_LARGEDIR feature allows larger directories to be created
> > in ldiskfs, both with directory sizes over 2GB and and a maximum htree
> > depth of 3 instead of the current limit of 2. These features are needed
> > in order to exceed the current limit of approximately 10M entries in a
> > single directory.
> > 
> > Signed-off-by: Yang Sheng <yang.sheng@intel.com>
> > Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
> 
> Thanks, applied.
> 
> 					- Ted

FYI, this patch is causing a problem when creating many files in a directory
(without the largedir feature enabled).  I haven't looked into it but maybe it
will ring a bell for someone.

seq -f "abcdefghijklmnopqrstuvwxyz012345%.0f" 100000 | xargs touch

[   42.726480] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.729472] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.731689] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.734303] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.736383] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.739133] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.741307] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.743963] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
[   42.745998] EXT4-fs error (device vdc): dx_probe:840: inode #2: block 508: comm touch: Directory index failed checksum
...

  reply	other threads:[~2017-05-01 18:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  9:51 [PATCH] Add largedir feature Artem Blagodarenko
2017-03-16 21:44 ` Andreas Dilger
2017-03-17  6:15   ` Alexey Lyashkov
2017-03-17 20:51     ` Andreas Dilger
2017-03-18  8:16       ` Alexey Lyashkov
2017-03-18 16:29         ` Theodore Ts'o
2017-03-18 17:17           ` Alexey Lyashkov
2017-03-19  0:39             ` Theodore Ts'o
2017-03-19  4:19               ` Alexey Lyashkov
2017-03-19  6:13               ` Andreas Dilger
2017-03-19  5:38           ` Andreas Dilger
2017-03-19 13:34             ` Theodore Ts'o
2017-03-19 23:54               ` Andreas Dilger
2017-03-20 11:34                 ` Alexey Lyashkov
2017-03-20 14:20                   ` Theodore Ts'o
2017-03-21 15:38                     ` Andreas Dilger
2017-03-20 11:42                 ` Theodore Ts'o
2017-04-30  0:59 ` Theodore Ts'o
2017-05-01 18:58   ` Eric Biggers [this message]
2017-05-01 23:39     ` Andreas Dilger
2017-05-02  2:44       ` Theodore Ts'o

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=20170501185824.GB30027@gmail.com \
    --to=ebiggers3@gmail.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=alexey.lyashkov@gmail.com \
    --cc=artem.blagodarenko@gmail.com \
    --cc=artem.blagodarenko@seagate.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=yang.sheng@intel.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;
as well as URLs for NNTP newsgroup(s).