This patch series introduces formal support for shrinking the cache origin and ensures that failed resume attempts, such as those caused by shrinking failures, do not trigger BUG_ON. The v3 patchset fixes the bitwise casting warning reported by sparse. Ming-Hung Tsai (2): dm cache: prevent BUG_ON by blocking retries on failed device resumes dm cache: support shrinking the origin device drivers/md/dm-cache-target.c | 96 ++++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 3 deletions(-) -- 2.47.0