linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Freemyer <greg.freemyer@gmail.com>
To: "Ted Ts'o" <tytso@mit.edu>
Cc: puru sothaman <r.puru@yahoo.co.in>, linux-ext4@vger.kernel.org
Subject: Re: backporting ext4 to 2.6.27
Date: Mon, 9 May 2011 18:52:48 -0400	[thread overview]
Message-ID: <BANLkTinYoendEHf=fOtnoS=QyrVXJZZnqg@mail.gmail.com> (raw)
In-Reply-To: <20110509160548.GC19811@thunk.org>

On Mon, May 9, 2011 at 12:05 PM, Ted Ts'o <tytso@mit.edu> wrote:
> On Mon, May 09, 2011 at 08:16:09PM +0530, puru sothaman wrote:
>> Hi,
>>
>>    I am using 2.6.27.18 kernel.Currently the ext4 support in kernel
>>is experimental version.I need a stable version ext4 patches for the
>>above kernel.Can anyone help me in backporting the stable ext4
>>patches for 2.6.27 kernel.
>
> Backporting patches to an ancient kernel like 2.6.27 is one of those
> painful things that get done by people who are paid to do so --- it's
> hard to find volunteers willing to do such a grungy task....
>
>                                           - Ted

Puru,

As far as I know, 2.6.27 is not supported for any of the current
security patches.

openSUSE as an example 100% stopped back-porting security patches to
it in Jan 2011 I believe.  I don't know how many ext4 patches they or
the community backported prior to that.  As you said, it was
experimental ...

You can find the latest openSUSE 2.6.27 kernel source here:
https://build.opensuse.org/package/files?package=kernel-source&project=DISCONTINUED%3AopenSUSE%3A11.1%3AUpdate

If you look at series.conf in particular, you can see they advanced as
far as the 2.6.27.56 stable kernel.

Then they were reverting a few things from the official tree:

    patches.kernel.org/revert-ext4-changes-in-2.6.27.48.patch
    patches.kernel.org/revert-ext4-changes-in-2.6.27.47.patch
    patches.kernel.org/revert-vfs-remove-the-range_cont-writeback-mode.-in-2.6.27.47.patch
    patches.kernel.org/revert-ext4-changes-in-2.6.27.19-and-2.6.27.20-and-2.6.27.25.patch


Then in addition they were applying:

# ext2/ext3
    ########################################################
    patches.suse/ext3-barrier-default
    patches.suse/ext2-fsync-err
    patches.fixes/ext3-mark-super-uptodate
    patches.fixes/ext3_false_EIO_fix.diff
    patches.fixes/ext2_mtime_update_on_rename.diff

    ########################################################
    # ext4
    ########################################################
    patches.fixes/ext4-fixes-2.6.28-rc8.patch
    patches.fixes/ext4-mballoc-preallocate.patch
    patches.fixes/ext4-use-a-fake-block-number-for-delayed-new-buffer_head
    patches.fixes/ext4-fix-sub-block-zeroing-for-preallocated-writes
    patches.fixes/ext4-clear-unwritten-flag-after-extent-initialization
    patches.fixes/ext4-avoid-corrupting-the-uninitialized-bit-in-the-extent-during-truncate
    patches.fixes/ext4-avoid-divide-by-zero-when-trying-to-mount-a-corrupted-file-system

    patches.fixes/ext4-fix-i_flags-access-in-ext4_da_writepages_trans_blocks
    patches.fixes/ext4-fix-potential-buffer-head-leak-when-add_dirent_to_buf-returns-enospc
    patches.fixes/ext4-fix-uninit-block-bitmap-initialization-when-s_meta_first_bg-is-non-zero
    patches.fixes/ext4-journal-all-modifications-in-ext4_xattr_set_handle
    patches.fixes/ext4-make-sure-directory-and-symlink-blocks-are-revoked
    patches.fixes/ext4-plug-a-buffer_head-leak-in-an-error-path-of-ext4_iget
    patches.fixes/ext4-return-the-ptr_err-of-the-correct-pointer-in-setup_new_group_blocks
    patches.fixes/jbd2-fix-race-between-write_metadata_buffer-and-get_write_access
    patches.fixes/jbd2-add-enomem-checking-in-and-for-jbd2_journal_write_metadata_buffer
    patches.fixes/percpu_counter-fbc_batch-should-be-a-variable-ext4
    patches.fixes/ext4-consolidate-in_range-definitions

You should find all of those patches in the link I posted.

 (See files:
                               patches.kernel.org.tar.bz2,
                               patches.suse.tar.bz2,
                               patches.fixes.tar.bz2
)

In fact, all of the patches to go from 2.6.27 to 2.6.27.56 should be
in the patches.kernel.org.tar.bz2 file.

I don't know how 'stable' that makes the 2.6.27 kernels ext4
implementation, but you can see ext4 got a lot of patches even though
it was officially experimental.

One thing it definitely doesn't do is add any backports that have come
out since the first of the year.  And I doubt any of the other distros
are doing that either.

fyi:

The stable patches are back-ported to 2.6.32 I believe.  That kernel
has also been designated by SUSE and Red Hat as a long term support
kernel, so it gets lots of security patches.

Can't you upgrade to it at least.

If so, you can likely stick with it for a couple more years and get a
full set of security patches as part of the pay-off.

Good Luck
Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2011-05-09 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09 14:46 (unknown) puru sothaman
2011-05-09 16:05 ` backporting ext4 to 2.6.27 Ted Ts'o
2011-05-09 22:52   ` Greg Freemyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTinYoendEHf=fOtnoS=QyrVXJZZnqg@mail.gmail.com' \
    --to=greg.freemyer@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=r.puru@yahoo.co.in \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).