Whamcloud - gitweb
LU-1201 checksum: add libcfs crypto hash
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Thu, 28 Jun 2012 06:04:06 +0000 (10:04 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 29 Jun 2012 17:24:18 +0000 (13:24 -0400)
commit353e3c2f8d9f195c0f87a16259f22b2f84de11d4
tree846cf4bfad30eaecb5fe8bff42de58b70fdb4d82
parent6d57017bcb81a8cff88fa049ab662b4c0677f625
LU-1201 checksum: add libcfs crypto hash

Add libcfs crypto hash and cleanup all lustre hash checksumming.
Now lustre hash calculations base on linux kernel crypto api for kernel,
and base on libcfs crypto implementation for userlevel. So any improvement
at linux kernel for hashes would improve lustre.

Signed-off-by: Alexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Xyratex-bug-id: MRP-337, MRP-471
Change-Id: I2fbf0f4d0c8ce7e7c3c7ea411c6ccd9dcfc7e03a
Reviewed-on: http://review.whamcloud.com/3098
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
33 files changed:
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_crypto.h [new file with mode: 0644]
libcfs/include/libcfs/linux/Makefile.am
libcfs/include/libcfs/linux/linux-crypto.h [new file with mode: 0644]
libcfs/include/libcfs/posix/Makefile.am
libcfs/include/libcfs/posix/posix-crypto.h [new file with mode: 0644]
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-crypto-adler.c [new file with mode: 0644]
libcfs/libcfs/linux/linux-crypto-crc32.c [new file with mode: 0644]
libcfs/libcfs/linux/linux-crypto.c [new file with mode: 0644]
libcfs/libcfs/module.c
libcfs/libcfs/posix/posix-adler.c [new file with mode: 0644]
libcfs/libcfs/posix/posix-crc32.c [new file with mode: 0644]
libcfs/libcfs/user-crypto.c [new file with mode: 0644]
lustre/include/linux/Makefile.am
lustre/include/linux/obd_cksum.h [deleted file]
lustre/include/lustre_sec.h
lustre/include/obd_cksum.h
lustre/llite/llite_lib.c
lustre/mds/mds_lov.c
lustre/obdfilter/filter.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c
lustre/ptlrpc/import.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/sec_bulk.c
lustre/ptlrpc/sec_plain.c
lustre/tests/sanity.sh