xfs
[Top] [All Lists]

Re: [PATCH xfstests] tests for file hash collisions on xfs filesystems

To: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [PATCH xfstests] tests for file hash collisions on xfs filesystems
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Tue, 01 Apr 2014 13:56:53 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140401184903.GA13434@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20140327074156.GJ29498@xxxxxxxxxxxxxxxxxxxxxxxxx> <20140401184903.GA13434@xxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 04/01/14 13:49, Hannes Frederic Sowa wrote:
This patch adds a new check for xfstests, which generates directories with 64
distinct hash values and afterwards tries to delete the directory. This caused
a hash ordering issue.

The file-hash-tool can also generate files (this should result in the same
original problem as with directories) and generate only filenames with one
hash (this can be very well optimized in future).

This is just a preview. Dave Chiner seems to want this as soon as possible,
thus please review and suggest changes so I can adapt this patch ASAP.

Thanks!

Signed-off-by: Hannes Frederic Sowa<hannes@xxxxxxxxxxxxxxxxxxx>
---

I had some suggestions for the C and xfstests that cross paths with this post.

--Mark.


<Prev in Thread] Current Thread [Next in Thread>