[vserver] linux 3.10.37 and patch-3.10.33-vs2.3.6.8.diff (was "linux 3.10.36 and patch-3.10.33-vs2.3.6.8.diff")

From: Corey Wright <undefined_at_pobox.com>
Date: Tue 15 Apr 2014 - 06:15:34 BST
Message-Id: <20140415001534.dddfc638af6587708b8b5319@pobox.com>

On Thu, 3 Apr 2014 21:58:01 -0500
Corey Wright <undefined@pobox.com> wrote:

> applying patch-3.10.33-vs2.3.6.8.diff to linux-3.10.36 fails.

of course, it continues to fail when applied to 3.10.37.

> the change of atomically setting ext4 inode flags in fs/ext4/inode.c [1]
> causes two linux-vserver patch rejects.
> Hunk #1 FAILED at 38.
> Hunk #2 FAILED at 4045.
> [1]
> http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=0a0ae7b3fb0fb301da83f7c7da38807c76b2b869
> the first failure is only because of including a new header (and
> invalidating the context).
> to address the second failure, i modified the linux-vserver code (which
> includes both i_flags and i_vflags) to update inode flags atomically (ie call
> set_mask_bits), just like 3.10.36 introduced. the patch also references
> ext4_get_inode_flags(), but that's only because the linux-vserver changes
> within that function are in the same context as the ext4_set_inode_flags
> conflicts, not because that function changed in 3.10.36.
> the attached patch fixes the two failures (and Makefile's EXTRAVERSION, too).

it fails patching 3.10.37's Makefile (but fixes the two patch failures in

> instructions:
> 1. acquire linux-3.10.36

1. acquire linux-3.10.37

> 2. apply patch-3.10.33-vs2.3.6.8.diff
> 3. apply the attached patch-3.10.33-36-vs2.3.6.8.diff

4. fix by hand Makefile reject

> i've successfully built the resulting kernel, but i'm currently unable to
> test it (against testme.sh and testfs.sh in virtualbox) until this weekend.
> if somebody tests the resulting kernel before then, then please reply with
> your results.

i've successfully built the resulting kernel, tested it (against testme.sh
and testfs.sh in virtualbox), and will put it into production in the next day
or two (assuming no negative upstream feedback regarding 3.10.37).


> corey
> --
> undefined@pobox.com
Received on Tue Apr 15 06:42:27 2014
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 15 Apr 2014 - 06:42:27 BST by hypermail 2.1.8