dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
stable inclusion from stable-v5.10.163 commit b45e77b79215405bd039a690f5b06cc03e8ed27d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b45e77b79215405bd039a690f5b06cc03e8ed27d ---------------------------------------------------- commit 352b837a upstream. Same ABBA deadlock pattern fixed in commit 4b60f452ec51 ("dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata") to DM-cache's metadata. Reported-by:Zhihao Cheng <chengzhihao1@huawei.com> Cc: stable@vger.kernel.org Fixes: 028ae9f7 ("dm cache: add fail io mode and needs_check flag") Signed-off-by:
Mike Snitzer <snitzer@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
Loading
Please sign in to comment