Whamcloud - gitweb
LU-1201 checksum: add libcfs crypto hash
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Fri, 8 Jun 2012 07:45:59 +0000 (11:45 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jun 2012 12:22:06 +0000 (08:22 -0400)
commit84a3fd67356c8073a917ea6abd63928055e38156
tree68e76e961021b8dd02db307f3717f2c5c9e86f39
parent220c6d92200792c318f5248e8e44dbcfc712c788
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: I71e7d4fbf45ee40c0c15e235eb71fb4aa86c17d1
Reviewed-on: http://review.whamcloud.com/2276
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.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