diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-01-08 23:21:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-08 23:29:00 +0300 |
commit | e4bf791937d82afca79e1df4063f72dbc6960ac7 (patch) | |
tree | 5c131edb13307bce302ba252a2624cca71176ba7 /drivers/thermal/spear_thermal.c | |
parent | b1092c9af9ed88dd2fc8345d987dfb7efe7be8f0 (diff) | |
download | linux-e4bf791937d82afca79e1df4063f72dbc6960ac7.tar.xz |
bcache: Fix, improve efficiency of closure_sync()
Eliminates cases where sync can race and fail to complete / get stuck.
Removes many status flags and simplifies entering-and-exiting closure
sleeping behaviors.
[mlyle: fixed conflicts due to changed return behavior in mainline.
extended commit comment, and squashed down two commits that were mostly
contradictory to get to this state. Changed __set_current_state to
set_current_state per Jens review comment]
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/thermal/spear_thermal.c')
0 files changed, 0 insertions, 0 deletions