bcache: Add a cond_resched() call to gc
authorKent Overstreet <kmo@daterainc.com>
Mon, 30 Nov 2015 01:18:33 +0000 (17:18 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 31 Dec 2015 03:23:06 +0000 (20:23 -0700)
commitc5f1e5adf956e3ba82d204c7c141a75da9fa449a
treeb8f09c4d77adb48ffef67ab304d5f47970a7a65d
parent2ef9ccbfcb90cf84bdba320a571b18b05c41101b
bcache: Add a cond_resched() call to gc

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Eric Wheeler <bcache@linux.ewheeler.net>
Cc: Kent Overstreet <kmo@daterainc.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/btree.c