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

majianpeng majianpeng at gmail.com
Fri Mar 8 03:13:33 UTC 2013


>On Fri, Mar 08, 2013 at 09:51:24AM +0800, majianpeng wrote:
>> It  ignored to judge the result of cache_create.
>> If cache_create failed, but the copy_ctr_args successed.
>
>Thanks for reporting this, but I already added this patch to linux-next today:
>  https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=f1ccbd181202c660b237b9bef0af277b980d5073
>
>and will push the batch of 7 patches upstream either Friday or early
>next week.  (I'm waiting to hear about two more patches first: a fix for
>a theoretical problem that's been discovered and a possible adjustment
>to the hints metadata.)
>
>Alasdair
>
I wanted to use dm-cache on softraid5 to improve the performance.
But  i don't know how to use.I readed the document and found a example:
>dmsetup create my_cache --table '0 41943040 cache /dev/mapper/metadata \
>	/dev/mapper/ssd /dev/mapper/origin 512 1 writeback default 0'
After the this,  mke2fs on /dev/mapper/origin met error.
 Did i use my_cache or origin to mkfs?

Thanks!
Jianpeng Ma




More information about the dm-devel mailing list