summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2019-04-25 00:48:40 +0800
committerJens Axboe <axboe@kernel.dk>2019-04-24 10:56:28 -0600
commiteb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60 (patch)
tree600f0789137da1c8fdfb4901d742e7f411a762db /drivers/md/raid10.h
parent63d63b51d70fb5155754dcf0baa2c1700bcafcb0 (diff)
downloadlinux-eb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60.tar.gz
linux-eb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60.tar.bz2
linux-eb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60.zip
bcache: improve bcache_reboot()
This patch tries to release mutex bch_register_lock early, to give chance to stop cache set and bcache device early. This patch also expends time out of stopping all bcache device from 2 seconds to 10 seconds, because stopping writeback rate update worker may delay for 5 seconds, 2 seconds is not enough. After this patch applied, stopping bcache devices during system reboot or shutdown is very hard to be observed any more. Signed-off-by: Coly Li <colyli@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid10.h')
0 files changed, 0 insertions, 0 deletions