This is my aufs2.1 mod for the linux kernel 2.6.36;
a 2.6.36 version of aufs2.1 has not been released yet by jro;
I hope that this serves as a preliminary work
to develop the official version.

20101027: using some code that jro has posted in the list,
the tests on that six-core machine have been succesful.

20101026: Warning: Testing on a six-core multiprocessor machine,
the aufs filesystem gives some errors,
could be due to the 2.6.36 changes for smp in the file structure,
the code should be modified for that.
As of date 20101026 the kernel compiles this mod correctly
when all the config options are active.
But needs a lot of testing to verify that all works right.

20101024: Announcing a pre-release that works in a Debian Live system,
is verified that reads and writes files to the COW,
even when the COW is on a hard disk partition.

the corresponding working kernel is:

http://livenet.selfip.com/ftp/debian/linux-2.6/linux-2.6.36-0.jpp.5-lnet/

patches included in the kernel:

# patches from aufs2 repository, with s/EXPORT_SYMBOL/&_GPL/
+ features/all/aufs2.1/aufs2-kbuild.patch
+ features/all/aufs2.1/aufs2-base.patch
+ features/all/aufs2.1/aufs2-standalone.patch
+ features/all/aufs2.1/aufs2.1-standalone.tree-36-UNRELEASED-20101027.patch

Verified config settings are:

CONFIG_AUFS_FS=m
CONFIG_AUFS_BRANCH_MAX_127=y
# CONFIG_AUFS_BRANCH_MAX_511 is not set
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
CONFIG_AUFS_SBILIST=y
# CONFIG_AUFS_HNOTIFY is not set
# CONFIG_AUFS_EXPORT is not set
# CONFIG_AUFS_RDU is not set
CONFIG_AUFS_SP_IATTR=y
# CONFIG_AUFS_SHWH is not set
# CONFIG_AUFS_BR_RAMFS is not set
CONFIG_AUFS_BR_FUSE=y
CONFIG_AUFS_POLL=y
CONFIG_AUFS_BR_HFSPLUS=y
CONFIG_AUFS_BDEV_LOOP=y
# CONFIG_AUFS_DEBUG is not set

Other configurations may not work,

For more details see the corresponding kernel package,

Disclaimer:
You use this patch and this document at your own risk. I am not responsible for any damage or injury caused by your use of this patch or this document, or caused by probable errors and/or omissions in this patch or this document. If that's not acceptable to you, you may not use this patch or this document.
By using this patch or this document you are accepting this disclaimer.
If you think that this may be better then consider that you also can help to make it.

Jordi Pujol
