I'm using linux 2.6.23-gentoo-rt1.
I needed to modify rt-compat.patch:

Index: fs/aufs/branch.c
===================================================================
RCS file: /cvsroot/aufs/aufs/fs/aufs/branch.c,v
retrieving revision 1.53
diff -u -p -r1.53 branch.c
--- fs/aufs/branch.c    25 Jun 2007 00:44:02 -0000      1.53
+++ fs/aufs/branch.c    29 Jun 2007 09:29:24 -0000
@@ -881,7 +881,7 @@ int br_mod(struct super_block *sb, struc
                         * since BKL (and sbinfo) is locked
                         */
                        AuDebugOn(!kernel_locked());
-                       list_for_each_entry(file, &sb->s_files, f_u.fu_list) {
+                       list_for_each_entry(file, 
percpu_list_head(&sb->s_files), f_u.fu_llist) {
                                LKTRTrace("%.*s\n", DLNPair(file->f_dentry));
                                if (unlikely(!au_test_aufs_file(file)))
                                        continue;
Index: fs/aufs/f_op.c


Local.mk:

CONFIG_AUFS = m
CONFIG_AUFS_FAKE_DM = y
CONFIG_AUFS_BRANCH_MAX_127 = y
CONFIG_AUFS_BRANCH_MAX_511 =
CONFIG_AUFS_BRANCH_MAX_1023 =
#CONFIG_AUFS_BRANCH_MAX_32767 =
CONFIG_AUFS_SYSAUFS = y
CONFIG_AUFS_HINOTIFY = y
CONFIG_AUFS_EXPORT = y
CONFIG_AUFS_ROBR = y
CONFIG_AUFS_DLGT = y
CONFIG_AUFS_RR_SQUASHFS = y
CONFIG_AUFS_SPLICE_PATCH =
CONFIG_AUFS_PUT_FILP_PATCH =
CONFIG_AUFS_LHASH_PATCH =
CONFIG_AUFS_SYSFS_GET_DENTRY_PATCH =
CONFIG_AUFS_KSIZE_PATCH =
CONFIG_AUFS_WORKAROUND_FUSE =
CONFIG_AUFS_DEBUG = y
CONFIG_AUFS_COMPAT =

For livecd functionality I have modified gentoo genkernel tools
and linux-live scripts:
http://petzold.republika.pl/utils/genlive.tbz2.

Some screens:
http://petzold.republika.pl/utils/hl1.png
http://petzold.republika.pl/utils/hl2.png

Regards,
Jakub

Dnia 24 października 2007 7:01 [EMAIL PROTECTED] napisał(a):

> 
> "Jakub_W._Jozwicki":
> > It=20is=20ok,=20however=20'percpu=5Flist=5Fhead'=20need=20to=20be=20put=20=
> > on=20'&sb->s=5Ffiles'.
> > Otherwise=20the=20code=20doesn't=20want=20to=20compile.
> 
> Then may I ask you to post to aufs-users ML what you experienced and how
> you addressed? Since there are users using aufs with realtime
> patch. I believe your post is very helpful for them.
> 
> 
> Junjiro Okajima
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

Reply via email to