From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:39921 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739AbcCAFii (ORCPT ); Tue, 1 Mar 2016 00:38:38 -0500 Received: from pmta03.dal05.mailchimp.com (127.0.0.1) by mail333.us4.mandrillapp.com id hqklds174nom for ; Tue, 1 Mar 2016 05:38:37 +0000 (envelope-from ) From: Subject: Patch "bcache: Add a cond_resched() call to gc" has been added to the 4.4-stable tree To: , , , , Cc: , Message-Id: <1456810715182153@kroah.com> Date: Tue, 01 Mar 2016 05:38:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled bcache: Add a cond_resched() call to gc to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: bcache-add-a-cond_resched-call-to-gc.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From c5f1e5adf956e3ba82d204c7c141a75da9fa449a Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 29 Nov 2015 17:18:33 -0800 Subject: bcache: Add a cond_resched() call to gc From: Kent Overstreet commit c5f1e5adf956e3ba82d204c7c141a75da9fa449a upstream. Signed-off-by: Takashi Iwai Tested-by: Eric Wheeler Cc: Kent Overstreet Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- drivers/md/bcache/btree.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c @@ -1741,6 +1741,7 @@ static void bch_btree_gc(struct cache_se do { ret = btree_root(gc_root, c, &op, &writes, &stats); closure_sync(&writes); + cond_resched(); if (ret && ret != -EAGAIN) pr_warn("gc failed!"); Patches currently in stable-queue which might be from kmo@daterainc.com are queue-4.4/bcache-clear-bcache_dev_unlink_done-flag-when-attaching-a-backing-device.patch queue-4.4/bcache-fix-a-leak-in-bch_cached_dev_run.patch queue-4.4/bcache-fix-a-livelock-when-we-cause-a-huge-number-of-cache-misses.patch queue-4.4/bcache-unregister-reboot-notifier-if-bcache-fails-to-unregister-device.patch queue-4.4/bcache-add-a-cond_resched-call-to-gc.patch