[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-196405-13602-8M3mhc76wz@https.bugzilla.kernel.org/>
Date: Fri, 21 Jul 2017 18:34:16 +0000
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...nel.org
Subject: [Bug 196405] mkdir mishandles st_nlink in ext4 directory with 64997
subdirectories
https://bugzilla.kernel.org/show_bug.cgi?id=196405
--- Comment #19 from Andreas Dilger (adilger.kernelbugzilla@...ger.ca) ---
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.
Powered by blists - more mailing lists