If there is already a patch for your kernel and you gave 'configure'
appropriate parameters in step 1, you can just run 'make apply-patches'
- from the top directory and go on to step 3.
+ from the top directory and go on to step 3. (This also attempts to
+ apply the VFS lock patch, which will fail if you've already applied it.)
Configure, build and install your kernel in the normal way, selecting
'Device mapper support' from the 'Multiple devices driver support' menu.
version it was generated against and whether it is for the 'fs' or
'ioctl' interface. Current development effort is concentrated
on the 'ioctl' interface. (Use CVS to get the older 'fs' patches if
- you want.)
+ you want - see note below.)
patches/common holds the constituent patches.
You may need to use these if some of the patches (e.g. mempool)
have already been applied to your kernel. See patches/common/README.
+ You should also apply the VFS lock patch (but not required if you're only
+ using ext2).
Running 'make symlinks' from the 'kernel' subdirectory will put symbolic
links into your kernel tree pointing back at the device-mapper source files.
diff -Nru a/fs/buffer.c b/fs/buffer.c
--- a/fs/buffer.c Wed May 22 10:43:49 2002
+++ b/fs/buffer.c Wed May 22 10:43:49 2002
-@@ -363,6 +363,34 @@
+@@ -362,6 +362,34 @@
fsync_dev(dev);
}
diff -Nru a/include/linux/fs.h b/include/linux/fs.h
--- a/include/linux/fs.h Wed May 22 10:43:49 2002
+++ b/include/linux/fs.h Wed May 22 10:43:49 2002
-@@ -1218,6 +1218,7 @@
+@@ -1235,6 +1235,7 @@
extern int sync_buffers(kdev_t, int);
extern void sync_dev(kdev_t);
extern int fsync_dev(kdev_t);
extern int fsync_super(struct super_block *);
extern int fsync_no_super(kdev_t);
extern void sync_inodes_sb(struct super_block *);
-@@ -1234,6 +1235,8 @@
+@@ -1251,6 +1251,8 @@
extern int filemap_fdatasync(struct address_space *);
extern int filemap_fdatawait(struct address_space *);
extern void sync_supers(kdev_t);
diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c
--- a/kernel/ksyms.c Wed May 22 10:43:49 2002
+++ b/kernel/ksyms.c Wed May 22 10:43:49 2002
-@@ -180,6 +180,8 @@
+@@ -181,6 +181,8 @@
EXPORT_SYMBOL(invalidate_inode_pages);
EXPORT_SYMBOL(truncate_inode_pages);
EXPORT_SYMBOL(fsync_dev);
EXPORT_SYMBOL(fsync_no_super);
EXPORT_SYMBOL(permission);
EXPORT_SYMBOL(vfs_permission);
-
-
-_______________________________________________
-lvm-devel mailing list
-lvm-devel@sistina.com
-http://lists.sistina.com/mailman/listinfo/lvm-devel
-