On Monday 2011-03-21 10:05, sf...@users.sourceforge.net wrote:

>
>Jan Engelhardt:
>> Mar 19 15:36:40 134.76.82.230 [  202.960778] kernel BUG at 
>> /usr/src/packages/BUILD/aufs-2.1~20110214/obj/desktop/fs/aufs/dynop.c:199! 
>
>This line verifies the size of struct address_space_operation.
>If it is modified by another kernel patch, aufs crashes at this line to
>prevent you from further corupption.
>
>Did you apply another kernel patch? Or did you change the module build
>option from the kernel's?

It is possible that openSUSE has some patches to
address_space_operation, but I do not see how AUFS exactly tests for
the size - and what size? I hope AUFS does not check whether
sizeof(foobar) = a fixed value.


(Swap over Networking feature patch)
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -622,6 +622,15 @@ struct address_space_operations {
        int (*is_partially_uptodate) (struct page *, read_descriptor_t *,
                                        unsigned long);
        int (*error_remove_page)(struct address_space *, struct page *);
+
+       /*
+        * swapfile support
+        */
+       int (*swapon)(struct file *file);
+       int (*swapoff)(struct file *file);
+       int (*swap_out)(struct file *file, struct page *page,
+                       struct writeback_control *wbc);
+       int (*swap_in)(struct file *file, struct page *page);
 };

 /*

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev

Reply via email to