View previous topic :: View next topic |
Author |
Message |
yzg Guru
Joined: 18 Jun 2005 Posts: 493
|
Posted: Tue Oct 30, 2012 9:09 am Post subject: To update or not to update to gentoo-sources-3.5.7 |
|
|
gentoo-sources-3.5.7 came with the comment "Put back stable keywords. Ext4 corruption not widespread."
and from lwn.net:
Quote: |
ext4 users would be well advised to avoid versions 3.4.14, 3.4.15, 3.5.7, 3.6.2, and 3.6.3; they all contain a patch which can, in some situations, cause filesystem corruption.
|
Corruption of a filesystem is a serious problem even if it is not widespread. So why not wait until 2.6.4
What do you think? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Tue Oct 30, 2012 9:23 am Post subject: |
|
|
I'd say wait. |
|
Back to top |
|
|
salahx Guru
Joined: 12 Mar 2005 Posts: 530
|
Posted: Tue Oct 30, 2012 12:10 pm Post subject: |
|
|
The ext4 corruption only appears with a combination of unlikely mount options ("nobarrier" and "journal_checksum"; note that "journal_async_commit" implies journal_checksum so I wouldn't worry about it. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Oct 30, 2012 4:21 pm Post subject: Re: To update or not to update to gentoo-sources-3.5.7 |
|
|
yzg wrote: | and from lwn.net:
Quote: | ext4 users would be well advised to avoid versions 3.4.14, 3.4.15, 3.5.7, 3.6.2, and 3.6.3; they all contain a patch which can, in some situations, cause filesystem corruption. |
What do you think? |
... readers would be well advised to avoid taking advice from LWN, partularly when that "advice" is formed without having the facts at their disposal. So, to avoid the kitten being killed you should be sure to keep informed about the many kittens needlessly killed each year on the LKML ... you wouldn't want the kittens to be harmed would you?
best ... khay |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Oct 30, 2012 4:26 pm Post subject: Re: To update or not to update to gentoo-sources-3.5.7 |
|
|
yzg wrote: | filesystem corruption |
Which has happened to a grand total of... one person with an unsafe setup |
|
Back to top |
|
|
yzg Guru
Joined: 18 Jun 2005 Posts: 493
|
Posted: Thu Nov 01, 2012 9:06 am Post subject: |
|
|
What about a script to tell you if it is safe to update.
Code: |
#!/bin/bash
for i in $(mount | grep ext4 | cut -d ' ' -f1);
do
if tune2fs -l $i | grep 'Filesystem features' | egrep -w 'nobarrier | journal_checksum | journal_async_commit';
then
echo "DO NOT UPDATE TO KERNEL <2.6.4";
exit -1;
fi;
done;
echo "IT IS SAFE TO UPDATE TO KERNEL <2.6.4";
|
|
|
Back to top |
|
|
|