linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* device-mapper library
@ 2004-08-26 17:48 Bob Glamm
  2004-11-08 23:25 ` Alasdair G Kergon
  0 siblings, 1 reply; 2+ messages in thread
From: Bob Glamm @ 2004-08-26 17:48 UTC (permalink / raw)
  To: linux-raid

I apologize if this is the wrong place to ask this; kindly direct
me to the appropriate place if so.

Is there an issue building device-mapper.1.00.1[89] against
2.6 kernels?  struct dm_target_msg does not appear in the
kernel headers for 2.6.5 or 2.6.7 (include/linux/dm-ioctl.h)
but does appear in kernel/ioctl/dm-ioctl.h in the device-mapper
sources.  Is there a set of 2.6.x patches somewhere I missed?

Thanks!

-Bob

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: device-mapper library
  2004-08-26 17:48 device-mapper library Bob Glamm
@ 2004-11-08 23:25 ` Alasdair G Kergon
  0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2004-11-08 23:25 UTC (permalink / raw)
  To: linux-raid; +Cc: dm-devel

On Thu, Aug 26, 2004 at 12:48:30PM -0500, Bob Glamm wrote:
> Is there an issue building device-mapper.1.00.1[89] against
> 2.6 kernels?  struct dm_target_msg does not appear in the
> kernel headers for 2.6.5 or 2.6.7 (include/linux/dm-ioctl.h)
> but does appear in kernel/ioctl/dm-ioctl.h in the device-mapper
> sources.  Is there a set of 2.6.x patches somewhere I missed?
 
A late reply, but for the record the userspace device-mapper 
library should cope fine: you compile it using its local copy of 
that header.  If your kernel was compiled with an older version of
it, the library code is designed to fallback at runtime to using
a correspondingly older version whenever it reasonably can, or else
return errors for features that can't be approximated using the 
old API.

So far, dm_target_msg is only used by multipath code in the 
unstable device-mapper trees at http://sources.redhat.com/dm/

Alasdair
-- 
agk@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-08 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 17:48 device-mapper library Bob Glamm
2004-11-08 23:25 ` Alasdair G Kergon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).