Re: [PATCHSET 0/3] xfs_db: create names with colliding hashes

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

 



On 2023-06-05 08:36:58, Darrick J. Wong wrote:
> Hi all,
> 
> While we're on the topic of directory entry naming, create a couple of
> new debugger commands to create directory or xattr names that have the
> same name hash.  This enables further testing of that aspect of the
> dabtree code, which in turn enables us to perform worst case performance
> analysis of the parent pointers code.
> 
> If you're going to start using this mess, you probably ought to just
> pull from my git trees, which are linked below.
> 
> This is an extraordinary way to destroy everything.  Enjoy!
> Comments and questions are, as always, welcome.
> 
> --D
> 
> xfsprogs git tree:
> https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=db-hash-collisions
> ---
>  db/Makefile       |    2 
>  db/hash.c         |  418 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  db/metadump.c     |  383 -------------------------------------------------
>  db/obfuscate.c    |  389 +++++++++++++++++++++++++++++++++++++++++++++++++
>  db/obfuscate.h    |   17 ++
>  man/man8/xfs_db.8 |   39 +++++
>  6 files changed, 859 insertions(+), 389 deletions(-)
>  create mode 100644 db/obfuscate.c
>  create mode 100644 db/obfuscate.h
> 

This patchset looks good to me. Seems to work.
Reviewed-by: Andrey Albershteyn <aalbersh@xxxxxxxxxx>

-- 
- Andrey




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux