Branch HEAD
b=12974 i=nikita i=adilger 1) set as "inline" for such large function ("obd_fail_check()") is not suitable, replaced with normal function "__obd_fail_check_set()". 2) atomic operations for obd_fail_count (replace "static count" in obd_fail_check). 3) use "test_and_set_bit()" for "OBD_FAILED/OBD_FAIL_ONCE" check and set to avoid unexpected racing condition between multi-thread ops. 4) some cleanup for OBD_FAIL_XXX macro.
Showing
- lustre/include/linux/obd_support.h 1 addition, 19 deletionslustre/include/linux/obd_support.h
- lustre/include/obd_support.h 102 additions, 113 deletionslustre/include/obd_support.h
- lustre/ldlm/ldlm_lib.c 1 addition, 2 deletionslustre/ldlm/ldlm_lib.c
- lustre/ldlm/ldlm_lockd.c 24 additions, 13 deletionslustre/ldlm/ldlm_lockd.c
- lustre/lvfs/lvfs_lib.c 69 additions, 1 deletionlustre/lvfs/lvfs_lib.c
- lustre/mdd/mdd_lov.c 1 addition, 1 deletionlustre/mdd/mdd_lov.c
- lustre/mds/handler.c 61 additions, 31 deletionslustre/mds/handler.c
- lustre/mds/mds_fs.c 3 additions, 2 deletionslustre/mds/mds_fs.c
- lustre/mds/mds_open.c 5 additions, 5 deletionslustre/mds/mds_open.c
- lustre/mdt/mdt_handler.c 7 additions, 4 deletionslustre/mdt/mdt_handler.c
- lustre/mdt/mdt_internal.h 1 addition, 2 deletionslustre/mdt/mdt_internal.h
- lustre/mdt/mdt_open.c 4 additions, 4 deletionslustre/mdt/mdt_open.c
- lustre/mdt/mdt_recovery.c 3 additions, 2 deletionslustre/mdt/mdt_recovery.c
- lustre/obdclass/class_obd.c 4 additions, 2 deletionslustre/obdclass/class_obd.c
- lustre/obdclass/darwin/darwin-sysctl.c 2 additions, 2 deletionslustre/obdclass/darwin/darwin-sysctl.c
- lustre/obdclass/linux/linux-sysctl.c 1 addition, 1 deletionlustre/obdclass/linux/linux-sysctl.c
- lustre/obdclass/llog_cat.c 1 addition, 1 deletionlustre/obdclass/llog_cat.c
- lustre/osc/osc_request.c 8 additions, 5 deletionslustre/osc/osc_request.c
- lustre/ost/ost_handler.c 43 additions, 26 deletionslustre/ost/ost_handler.c
- lustre/ptlrpc/gss/sec_gss.c 2 additions, 1 deletionlustre/ptlrpc/gss/sec_gss.c
Loading
Please register or sign in to comment