- A couple stable fixes for the DM writecache target.

- A stable fix for the DM cache target that fixes the potential for data
  corruption after an unclean shutdown of a cache device using writeback
  mode.

- Update DM integrity target to allow the metadata to be stored on a
  separate device from data.

- Fix DM kcopyd and the snapshot target to cond_resched() where
  appropriate and be more efficient with processing completed work.

- A few fixes and improvements for DM crypt.

- Add DM delay target feature to configure delay of flushes independent
  of writes.

- Update DM thin-provisioning target to include metadata_low_watermark
  threshold in pool status.

- Fix stale DM thin-provisioning Documentation.
dm writecache: fix a crash due to reading past end of dirty_bitmap

wc->dirty_bitmap_size is in bytes so must multiply it by 8, not by
BITS_PER_LONG, to get number of bitmap_bits.

Fixes crash in find_next_bit() that was reported:
https://bugzilla.kernel.org/show_bug.cgi?id=200819

Reported-by: edo.rus@gmail.com
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>
1 file changed