Whamcloud - gitweb
Branch b1_6
authorbobijam <bobijam>
Thu, 13 Dec 2007 05:51:37 +0000 (05:51 +0000)
committerbobijam <bobijam>
Thu, 13 Dec 2007 05:51:37 +0000 (05:51 +0000)
commitf3d53e744740e918381b5a9e6ead760973ed55b9
tree4959991541c37bc6a31dcda115028286a966d07d
parent57443b8277fb2a0181be88f9e3f68ec0e5d0328e
Branch b1_6
b=12211
origianl patch producer=adilger
i=green, bobijam

move obd_fail_check() from being a static inline to being a function.
We already protect this function from being called needlessly by use of
unlikely() and checking obd_fail_loc != 0 before calling it.

Having such a large function inline bloats the code and likely reduces
performance by putting extra (though unlikely) code in every function.
lustre/include/obd_support.h
lustre/lvfs/lvfs_lib.c