dm writecache: verify watermark during resume
commit41c526c5af46d4c4dab7f72c99000b7fac0b9702
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 24 Feb 2020 09:20:30 +0000 (24 10:20 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Feb 2020 21:44:24 +0000 (27 16:44 -0500)
treef9bb91b8b17e44b48f94ff8318a0a99cbeed9bcb
parentadc0daad366b62ca1bce3e2958a40b0b71a8b8b3
dm writecache: verify watermark during resume

Verify the watermark upon resume - so that if the target is reloaded
with lower watermark, it will start the cleanup process immediately.

Fixes: 48debafe4f2f ("dm: add writecache target")
Cc: stable@vger.kernel.org # 4.18+
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-writecache.c