Files
Linux/drivers
Mike Christie 9972cebb59 tcmu: fix unmap thread race
If the unmap thread has already run find_free_blocks
but not yet run prepare_to_wait when a wake_up(&unmap_wait)
call is done, the unmap thread is going to miss the wake
call. Instead of adding checks for if new waiters were added
this just has us use a work queue which will run us again
in this type of case.

Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
2018-01-12 15:07:12 -08:00
..
…
…
2017-12-20 13:16:33 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2017-12-18 09:16:35 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-01-12 15:07:12 -08:00
…
…
…
…
2017-12-02 21:31:03 -05:00
…
2017-12-14 21:01:40 +02:00
…
…
…