(unknown)
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.
Re: backporting ext4 to 2.6.27
Quoted 6 lines · puru sothaman
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
Re: backporting ext4 to 2.6.27
Quoted 8 lines · Ted Ts'o
Quoted 6 lines · puru sothaman
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.
Quoted 5 lines
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.patchThen 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-definitionsYou 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html