[dm-devel] [PATCH] dm-cache: Add handle to contlr if cache_create failed.

Alasdair G Kergon agk at redhat.com
Tue Mar 19 00:44:00 UTC 2013


On Mon, Mar 18, 2013 at 04:13:57PM -0700, Darrick J. Wong wrote:
> I realize dm-cache hasn't been in an upstream release yet, but could we add new
> fields at the end of the disk superblock?  

Updated here:
  http://people.redhat.com/agk/patches/linux/editing/dm-cache-policy-change-version-from-string-to-integer-set.patch

I presume this will now be compatible (just losing the hints the first time
after updating the kernel)?

> And after 3.9, maybe have some sort
> of guard too?
 
There's already a version number CACHE_VERSION.

I would hope the space after the superblock is automatically filled with zeros.
If not, that will need to be fixed too.

Alasdair




More information about the dm-devel mailing list