Searched hist:eb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/md/bcache/ |
H A D | super.c | diff eb8cbb6df38f6e5124a3d5f1f8a3dbf519537c60 Wed Apr 24 11:48:40 CDT 2019 Coly Li <colyli@suse.de> 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>
|