Skip to contentSkip to conversation

Integrating new DM targets to LVM

DISCUSSION Gili B 2 participants 3 messages Jul 5, 2015 – Jul 7, 2015 Device mapper

lore
Share & tools
lore

Gili B

author
#0 lore raw

hi
We are working on a new DM target which is similar to the ones in dm-thin but it adds SSD specific features. I want to evaluate how complicated is it to integrate new targets to LVM.

Is there any guide/ documentation that explains what needs to be done?

Thanks
-gili

#1 lore raw

Dne 5.7.2015 v 15:05 Gili B napsal(a):

Quoted 7 lines

hi
We are working on a new DM target which is similar to the ones in dm-thin but it adds SSD specific features.
I want to evaluate how complicated is it to integrate new targets to LVM.

Is there any guide/ documentation that explains what needs to be done?

Hi

Would be probably much better to start with description of your new DM target.

Regards

Zdenek

author
#2 lore raw

Thanks
We are working on a module that creates 2 target types :
X_pool , X_Volume

The pool linkes together a list of disks and enables allocating volumes. The pool device doesnt enable io , it's size is 1 sector and its map method is basiclly like dm_zero.

The volume's map io, generates new ios to certain devices from the pool according to the pool's logic.

The intention is to implement logic which is optimized for SSDs, but the pool will be able to work with normal disks, except it's performance won't be that good.

Thanks
-gili

Quoted 28 lines

To: [email protected]
From: [email protected]
Date: Mon, 6 Jul 2015 13:04:45 +0200
Subject: Re: [dm-devel] Integrating new DM targets to LVM

Dne 5.7.2015 v 15:05 Gili B napsal(a):

Quoted 7 lines

hi
We are working on a new DM target which is similar to the ones in dm-thin but it adds SSD specific features.
I want to evaluate how complicated is it to integrate new targets to LVM.

Is there any guide/ documentation that explains what needs to be done?

Hi

Would be probably much better to start with description of your new DM target.

Regards

Zdenek

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel