lkml.org 
[lkml]   [2008]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Device mapper support for more than one target ?
On Mon, Dec 22, 2008 at 10:52:08PM +0530, Sandeep K Sinha wrote:
> After looking at the complete implementation of device mappers, I
> figured out that we can have more than one target for a mapped device
> then why do we have a check for the number of target to be equal to
> one , in dm_blk_ioctl ( ) in drivers/md/dm.c
>
> http://lxr.linux.no/linux+v2.6.27.10/drivers/md/dm.c#L337

Because whether or not it makes sense to send any specific ioctl to more
than one target in parallel depends on what that ioctl does. When we
added that code we said that we could add hard-coding for specific
ioctls if the need arose, but so far it hasn't.

Alasdair
--
agk@redhat.com


\
 
 \ /
  Last update: 2008-12-22 19:53    [W:0.040 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site