[Bug 196405] mkdir mishandles st_nlink in ext4 directory with 64997 subdirectories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=196405

--- Comment #19 from Andreas Dilger (adilger.kernelbugzilla@xxxxxxxxx) ---
Ted, I think the right approach is to stop the ext4 kernel code from enabling
dir_nlink automatically, but continue to set it by default at format time for
new filesystems.  I suspect the number of users that want to get an error
returned when their directory grows large is very few, but at least they will
be able to turn off dir_nlink and/or create the filesystem without this feature
in the first place.  This will make the dir_nlink feature more consistent with
other features as well.

What I also just noticed is that e2fsck does not enable the dir_nlink feature
in the superblock in case i_links_count > EXT2_LINK_MAX.  I'm just working on a
patch for this.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux