Re: [PATCH] Revert "libfs: Use d_children list to iterate simple_offset directories"

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

 



On Tue, Mar 11, 2025 at 03:39:32PM -0400, Chuck Lever wrote:
> Not sure what you're getting at here, but POSIX makes absolutely no
> guarantee that d_off will always increase in value as an application
> walks the directory. That's an impossible thing to guarantee given
> the way d_off values are chosen (at entry creation time, not at
> directory iteration time).

Not sure why you're trying to cite POSIX when it's an actual application
regression under discussion.

Sane d_offset behaviour is one of those "of _course_ things will break
you screw that up and I don't want to be on the hook for debugging it"
things to filesystem developers - you don't do it.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux