Skip to content
Snippets Groups Projects
Commit 71e20cf1 authored by Yong Fan's avatar Yong Fan
Browse files

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.
parent 1f8b7d9d
No related branches found
No related tags found
No related merge requests found
Showing
with 343 additions and 237 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment