From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: device mapper target vs personality, how do you decide to pick one or the other? Date: Fri, 11 Jul 2014 17:51:20 -0400 Message-ID: <20140711215120.GE9231@redhat.com> References: <8A51900D08212F40B3DE22453052F69839C45AE5@wdscexmb02> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <8A51900D08212F40B3DE22453052F69839C45AE5@wdscexmb02> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: John Utz Cc: "dm-devel@redhat.com" List-Id: dm-devel.ids On Fri, Jul 11 2014 at 5:28pm -0400, John Utz wrote: > Hi; > > having stared at the code associated with these 2 constructs for a while, i cant come up with a clear reason why one would choose one over the other. > > having said that, it seems that the personality code is ancestral and > is used for the personalities that can be compiled into device mapper > and the target code is for newer stuff that is not expected to be > compiled into device mapper. Not sure I know what you mean by "personality code" in DM. > so, based on this speculation, i *think* i should be using the target > construct for the new device mapper module that i am currently > coding. > > am i correct? Probably.