From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search


  • Added sysctls for NFS in OVZ
  • Small cleanups
  • Aadded debug for inode refnct and mapcount
  • Lockless net stats
  • Small fixes

Config changes




Patch from Vasiliy: sysctl to enabled SUN RPC form inside VE.


Patch from Vasiliy: sysctl to enabled NFS inside VEs.


Patch from Vasiliy: sysctl for khtreads from VE.


Patch from mainstream, prepared by Roman: [PATCH] Don't remove /sys in initramfs

Using the "resume" kernel parameter together with an initramfs revealed a bug that causes removal of the /sys directory in the initramfs' tmpfs, making the system unbootable.

The source of the problem is that the try_name() function removes the /sys directory unconditionally, instead of removing it only when it has been created by try_name().

The attached patch only removes /sys if it has been created before.

Signed-off-by: Juerg Billeter <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>

P.S. needed for using initramfs for SUSE10


Patch from Vasily: Removes virtpid warning. Required for NFS support, which triggers it.


Patch from Kirill: Cleanup ipv4_devconf_dflt usage.


Patch from Alexandr Andreev: KSYM's were rewritten to always access any KSYM'bol via pointer. This simplifies code and makes it work independant of CONFIG_XXX=y or m settings.

OpenVZ Bugs #284, #283.


Patch from Alexandr Andreev: CPT part of diff-ve-ksyms-20061013


Patch from Pavel: Print some additional info when page_mapcount goes negative.

Debug for bug #70162.


Patch from Denis: This patch fixes venet and veth statistics broken by NETIF_F_LLTX addition. It makes stats per-cpu.


Patch from Andrey: Size of ip_conntrack_help union differs on i386 and x86_64 because of pointers used in ip_ct_pptp_master structure:

union ip_conntrack_help {
        struct ip_ct_pptp_master ct_pptp_info;
        struct ip_ct_ftp_master ct_ftp_info;
        struct ip_ct_irc_master ct_irc_info;

struct ip_ct_pptp_master {
        enum pptp_ctrlsess_state sstate;
        enum pptp_ctrlcall_state cstate;
        u_int16_t pac_call_id;
        u_int16_t pns_call_id;

        struct ip_ct_gre_keymap *keymap_orig, *keymap_reply; // these pointers

The check for sizes works well on i386 arch and does not on x86_64 arch. As we don't support pptp and do not save these pointers at all, we can just drop this check.

OpenVZ Bug #307.


Patch from Alexandr Andreev: Obsoleted get_pty_xxx() wrappers removed from tty clone routines


Patch from Denis (den@) and Vasily: This patch fixes OOM while all low memory goes into bounce pages if CFQ IO-Scheduler is selected.

Bug #68248.


Patch from Andrey: File owner and access mode were restored incorrectly for deleted files.

Bug #70217.


Patch from Alexandr Andreev: Compile fix for arch/i386/mm/pageattr.c

OpenVZ Bug #304.