Searched hist:"1 edaa447d958bec24c6a79685a5790d98976fd16" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/md/ |
H A D | dm-writecache.c | diff 1edaa447d958bec24c6a79685a5790d98976fd16 Fri Mar 27 12:22:36 CET 2020 Mikulas Patocka <mpatocka@redhat.com> dm writecache: add cond_resched to avoid CPU hangs
Initializing a dm-writecache device can take a long time when the persistent memory device is large. Add cond_resched() to a few loops to avoid warnings that the CPU is stuck.
Cc: stable@vger.kernel.org # v4.18+ Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
|