[PATCHSET 0/2] xfsprogs: test the dir/attr hash function

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

 



Hi all,

Add a selftest program for the regular directory/xattr name hashing
code, then make mkfs and xfs_repair run it every time they start up.
This will help us catch any bugs in the implementation or the hardware
before users trash their systems.

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.
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=test-dahash-6.3
---
 libfrog/Makefile         |    7 -
 libfrog/crc32cselftest.h |  533 +---------------------------------------------
 libfrog/dahashselftest.h |  172 +++++++++++++++
 libfrog/randbytes.c      |  527 +++++++++++++++++++++++++++++++++++++++++++++
 libfrog/randbytes.h      |   11 +
 mkfs/xfs_mkfs.c          |    8 +
 repair/init.c            |    5 
 7 files changed, 738 insertions(+), 525 deletions(-)
 create mode 100644 libfrog/dahashselftest.h
 create mode 100644 libfrog/randbytes.c
 create mode 100644 libfrog/randbytes.h




[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