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@xxxxxxxxx> > > > > 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@xxxxxxxxx> > > Signed-off-by: Artem Blagodarenko <artem.blagodarenko@xxxxxxxxxxx> > > 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 ...