Mikulas Patocka d35bd764e6 dm writecache: add cond_resched to loop in persistent_memory_claim()
Add cond_resched() to a loop that fills in the mapper memory area
because the loop can be executed many times.

Fixes: 48debafe4f2fe ("dm: add writecache target")
Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2020-06-19 12:32:24 -04:00
..
2020-06-02 15:37:03 -07:00
2019-11-12 19:12:07 -07:00
2019-08-23 10:13:12 -04:00
2019-03-12 10:15:18 -07:00