bcache: Add a cond_resched() call to gc

commit c5f1e5adf9 upstream.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Eric Wheeler <bcache@linux.ewheeler.net>
Cc: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kent Overstreet 2015-11-29 17:18:33 -08:00 • committed by Greg Kroah-Hartman
commit f4c87d7c2e