On Mon, Nov 11, 2013 at 12:20:43PM -0500, Mike Snitzer wrote: > From: Joe Thornber <ejt@xxxxxxxxxx> > > Allow a cache to shrink if the blocks being removed from the cache are > not dirty. Please would you document the intended procedure here? > + DMERR("unable to shrink cache due to dirty blocks"); This error is highly undesirable: part of a device has been removed while it is still needed! How does someone go about reducing the size of the cache avoiding this error? (Analogy: to reduce size of a filesystem you run a filesystem resize process before reducing the size of the block device.) Alasdair -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel