Whamcloud - gitweb
LU-224 Move fail_loc handling from lustre to libcfs
authorJames Simmons <uja.ornl@gmail.com>
Wed, 18 May 2011 17:54:44 +0000 (13:54 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 20 May 2011 15:19:16 +0000 (08:19 -0700)
commita7f5b2e19d5645c3a54e957bdc20fa10cacf0724
treee0870a7bfac702876022a52d3f3c1dbedb8754a5
parent9e6a0fcbf02942caff9d769d644913964d34c028
LU-224 Move fail_loc handling from lustre to libcfs

This patch goal is to move the fail_loc handling from lustre to libcfs. The
reason being is that currently you can only do fault testing in the lustre
core code. By moving this code to libcfs all sub systems will be able to
inject
faults into the system for testing purposes. This is in particular needed to
support the cray gemini klnd driver since one can inject faults for testing
failure conditions.

Change-Id: I438c30d0c7fe6987ad3fcfa5442366d4307a4d9f
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Reviewed-on: http://review.whamcloud.com/450
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
30 files changed:
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/libcfs_fail.h [new file with mode: 0644]
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/darwin/darwin-proc.c
libcfs/libcfs/fail.c [new file with mode: 0644]
libcfs/libcfs/linux/linux-proc.c
libcfs/libcfs/module.c
lustre/include/darwin/obd_support.h
lustre/include/linux/obd_support.h
lustre/include/obd_support.h
lustre/ldlm/ldlm_request.c
lustre/liblustre/tests/recovery_small.c
lustre/llite/file.c
lustre/lov/lov_request.c
lustre/lvfs/lvfs_lib.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mgs/mgs_handler.c
lustre/obdclass/class_obd.c
lustre/obdclass/darwin/darwin-sysctl.c
lustre/obdclass/linux/linux-sysctl.c
lustre/obdfilter/filter.c
lustre/ost/ost_handler.c
lustre/ptlrpc/client.c
lustre/ptlrpc/service.c
lustre/tests/conf-sanity.sh
lustre/tests/replay-single.sh
lustre/tests/sanity-gss.sh