[dm-devel] [PATCH] dm cache: fix race affecting dirty block count

Joe Thornber thornber at redhat.com
Fri Aug 1 15:17:30 UTC 2014


On Thu, Jul 31, 2014 at 09:31:27PM +0300, Anssi Hannula wrote:
> I did notice that after a reboot (after having incorrect nr_dirty) the
> entire cache was considered to be dirty and a full writeback occurred,
> but I don't know if that was related at all.

Did you take the cache down cleanly?  Normally this happens when you
shutdown without destroying the cache device first.

Patch looks good.

- Joe




More information about the dm-devel mailing list