Re: [RFC PATCH v2 0/5] Improve simple directory offset wrap behavior

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

 




> On Nov 26, 2024, at 11:24 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> 
> On Tue, Nov 26, 2024 at 10:54:39AM -0500, cel@xxxxxxxxxx wrote:
>> From: Chuck Lever <chuck.lever@xxxxxxxxxx>
>> 
>> This series attempts to narrow some gaps in the current tmpfs
>> directory offset mechanism that relate to misbehaviors reported by
>> Yu Kuai <yukuai3@xxxxxxxxxx> and Yang Erkun <yangerkun@xxxxxxxxxx>.
> 
> Any chance you could write xfstests test cases to exercise these
> corner cases?

generic/736 exercises the readdir loop after rename.

Kuai's test requires kernel code changes to reduce the
range of directory offset values that tmpfs can assign.
Triggering an offset value wrap with the mtree offset
allocator is not possible in millions of years.

I'll have to think about how that can be made into an
automatible test.

--
Chuck Lever






[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