FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 02-13-2008, 10:20 PM
Stefan Bader
 
Default lum-dmraid45 preview

Hi,

I took an approach to get the device-mapper raid45 target into lum.
Hopefully I got everything condensed into one file now. The only kernel
dependency I cannot get around is an additionally exported symbol:

diff -up linux-2.6.24/drivers/md/dm.c.raid45 linux-2.6.24/drivers/md/dm.c
--- linux-2.6.24/drivers/md/dm.c.raid45 2008-02-06 13:54:31.000000000 +0100
+++ linux-2.6.24/drivers/md/dm.c 2008-02-06 13:54:52.000000000 +0100
@@ -1566,6 +1566,7 @@ struct gendisk *dm_disk(struct mapped_de
{
return md->disk;

+EXPORT_SYMBOL_GPL(dm_disk);

Will that be ok to add to the hardy kernel code? I would say it doesn't
hurt anybody. Since the dmraid45 target itself is quite kernel dependend
I would guess it sooner or later ends up in the mainstream code (and so
will the exported symbol). Attached is the whole lum diff.

This is very basic at the moment. I did not check for good cleanup or
load tested. This is just for everyone to have a chance to look at the
stuff.

-Stefan

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 02:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org