* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
@ 2010-01-13 22:09 ` bugzilla-daemon
2010-01-13 22:16 ` bugzilla-daemon
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-01-13 22:09 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Rafael J. Wysocki <rjw@sisk.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rjw@sisk.pl
Blocks| |14885
--- Comment #1 from Rafael J. Wysocki <rjw@sisk.pl> 2010-01-13 22:09:30 ---
Since you marked it as a regression, what was the last working kernel?
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
2010-01-13 22:09 ` [Bug 15025] " bugzilla-daemon
@ 2010-01-13 22:16 ` bugzilla-daemon
2010-01-24 23:07 ` bugzilla-daemon
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-01-13 22:16 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #2 from Steinar H. Gunderson <sgunderson@bigfoot.com> 2010-01-13 22:16:04 ---
On Wed, Jan 13, 2010 at 10:09:32PM +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> --- Comment #1 from Rafael J. Wysocki <rjw@sisk.pl> 2010-01-13 22:09:30 ---
> Since you marked it as a regression, what was the last working kernel?
I upgraded from 2.6.32-rc5, where I didn't see this issue. 2.6.32.3 works
fine on the same machine and filesystem.
/* Steinar */
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
2010-01-13 22:09 ` [Bug 15025] " bugzilla-daemon
2010-01-13 22:16 ` bugzilla-daemon
@ 2010-01-24 23:07 ` bugzilla-daemon
2010-01-27 19:35 ` bugzilla-daemon
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-01-24 23:07 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #3 from Rafael J. Wysocki <rjw@sisk.pl> 2010-01-24 23:07:23 ---
On Sunday 24 January 2010, Steinar H. Gunderson wrote:
> On Sun, Jan 24, 2010 at 11:04:35PM +0100, Rafael J. Wysocki wrote:
> > The following bug entry is on the current list of known regressions
> > from 2.6.32. Please verify if it still should be listed and let me know
> > (either way).
>
> I'm not using 2.6.33 anymore since this bug is a showstopper to me (it's on a
> production system), so I'm unable to check if it's fixed or not.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (2 preceding siblings ...)
2010-01-24 23:07 ` bugzilla-daemon
@ 2010-01-27 19:35 ` bugzilla-daemon
2010-01-27 20:23 ` bugzilla-daemon
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-01-27 19:35 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Theodore Tso <tytso@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tytso@mit.edu
--- Comment #4 from Theodore Tso <tytso@mit.edu> 2010-01-27 19:35:09 ---
Hi Steiner,
Sorry for not getting back to you right away; I've been doing a huge amount of
travel right during January. Can you tell me something about the file system
workload on your machine? What does it do? NFS, rsync server, backups, ...?
And do you know what it might be doing right before it crashed? How easily
can you reproduce this? I take it since you had to stop using 2.6.33-rcX you
could reproduce it easily?
If you are willing to try a 2.6.33-rcX kernel, I'd suggest seeing if "echo 0 >
/sys/fs/ext4/<dev>/max_writeback_mb_bump" makes the crashes go away.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (3 preceding siblings ...)
2010-01-27 19:35 ` bugzilla-daemon
@ 2010-01-27 20:23 ` bugzilla-daemon
2010-02-16 13:44 ` bugzilla-daemon
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-01-27 20:23 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #5 from Steinar H. Gunderson <sgunderson@bigfoot.com> 2010-01-27 20:23:43 ---
On Wed, Jan 27, 2010 at 07:35:11PM +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> Sorry for not getting back to you right away; I've been doing a huge amount of
> travel right during January. Can you tell me something about the file system
> workload on your machine? What does it do? NFS, rsync server, backups, ...?
IIRC this was a file system that was mainly used for video storage and
transcoding -- I think I was encoding a video with x264 to it when it
crashed. Apart from that the machine spends most of its I/O time doing web
serving from relatively large (1-2TB) data sets, and occasionally rtorrent.
It was recently online expanded, so I thought that might be related, but the
problem persisted after a reboot and a forced fsck, so there was no on-disk
corruption involved.
> And do you know what it might be doing right before it crashed? How easily
> can you reproduce this? I take it since you had to stop using 2.6.33-rcX you
> could reproduce it easily?
It crashed two times in two days or something after I upgraded to 2.6.33-rcX.
Not a statistically huge sample, I'm afraid.
> If you are willing to try a 2.6.33-rcX kernel, I'd suggest seeing if "echo 0 >
> /sys/fs/ext4/<dev>/max_writeback_mb_bump" makes the crashes go away.
I'm afraid it's not so easy for me to do reboots into new kernels on this
machine; kernel upgrades generally happen when the machine is booted for some
other reason. :-/
/* Steinar */
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (4 preceding siblings ...)
2010-01-27 20:23 ` bugzilla-daemon
@ 2010-02-16 13:44 ` bugzilla-daemon
2010-02-16 14:08 ` bugzilla-daemon
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-16 13:44 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #6 from Steinar H. Gunderson <sgunderson@bigfoot.com> 2010-02-16 13:44:37 ---
There was a power drop (too long for the UPS), so I've now run 2.6.33-rc8 on
this same machine for about 24 hours without seeing any ext4 errors. The load
is probably different, though, but at least it doesn't seem to bite me anymore.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (5 preceding siblings ...)
2010-02-16 13:44 ` bugzilla-daemon
@ 2010-02-16 14:08 ` bugzilla-daemon
2010-02-16 21:00 ` bugzilla-daemon
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-16 14:08 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Dmitry Monakhov <dmonakhov@openvz.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmonakhov@openvz.org
--- Comment #7 from Dmitry Monakhov <dmonakhov@openvz.org> 2010-02-16 14:08:29 ---
The issue was fixed by following commit
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git;a=commit;h=1db913823c0f8360fccbd24ca67eb073966a5ffd
Test case:
dmon$ sudo mount /dev/sdd /mnt -oquota
dmon$ set-quota-limit /mnt id=dmon --bsoft=1000 --bsoft=1000
dmon$ dd if=/dev/zefo of=/mnt/file
Please close the bug
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (6 preceding siblings ...)
2010-02-16 14:08 ` bugzilla-daemon
@ 2010-02-16 21:00 ` bugzilla-daemon
2010-02-16 21:00 ` bugzilla-daemon
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-16 21:00 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Rafael J. Wysocki <rjw@sisk.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (7 preceding siblings ...)
2010-02-16 21:00 ` bugzilla-daemon
@ 2010-02-16 21:00 ` bugzilla-daemon
2010-02-16 23:57 ` bugzilla-daemon
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-16 21:00 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Rafael J. Wysocki <rjw@sisk.pl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Rafael J. Wysocki <rjw@sisk.pl> 2010-02-16 21:00:35 ---
Thanks, closing.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (8 preceding siblings ...)
2010-02-16 21:00 ` bugzilla-daemon
@ 2010-02-16 23:57 ` bugzilla-daemon
2010-02-17 0:21 ` bugzilla-daemon
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-16 23:57 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
Steinar H. Gunderson <sgunderson@bigfoot.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|CODE_FIX |UNREPRODUCIBLE
--- Comment #9 from Steinar H. Gunderson <sgunderson@bigfoot.com> 2010-02-16 23:56:59 ---
Dmitry: That seems impossible, as I'm not using quota on the machine in
question (it's not even compiled into the kernel).
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (9 preceding siblings ...)
2010-02-16 23:57 ` bugzilla-daemon
@ 2010-02-17 0:21 ` bugzilla-daemon
2010-02-17 13:48 ` bugzilla-daemon
2010-02-17 13:51 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-17 0:21 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #10 from Steinar H. Gunderson <sgunderson@bigfoot.com> 2010-02-17 00:21:40 ---
On Tue, Feb 16, 2010 at 02:08:33PM +0000, bugzilla-daemon@bugzilla.kernel.org
wrote:
> The issue was fixed by following commit
> http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git;a=commit;h=1db913823c0f8360fccbd24ca67eb073966a5ffd
This cannot be, as I don't use quota.
/* Steinar */
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (10 preceding siblings ...)
2010-02-17 0:21 ` bugzilla-daemon
@ 2010-02-17 13:48 ` bugzilla-daemon
2010-02-17 13:51 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-17 13:48 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #11 from Dmitry Monakhov <dmonakhov@openvz.org> 2010-02-17 13:47:27 ---
After the patch i can not trigger the bug (In reply to comment #10)
> On Tue, Feb 16, 2010 at 02:08:33PM +0000, bugzilla-daemon@bugzilla.kernel.org
> wrote:
> > The issue was fixed by following commit
> > http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git;a=commit;h=1db913823c0f8360fccbd24ca67eb073966a5ffd
>
> This cannot be, as I don't use quota.
It i is posible to triger the bug without quota.
Untill the patch it we have following code
fs/ext4/inode.c:
1850 if (ext4_claim_free_blocks(sbi, md_needed + 1)) {
1851 vfs_dq_release_reservation_block(inode, md_needed + 1);
1852 if (ext4_should_retry_alloc(inode->i_sb, &retries)) {
1853 retry:
1854 if (md_reserved)
1855 write_inode_now(inode, (retries == 3));
^^^^^^^^^^ Here we goes in to lack of journal credits. ^^^^^^^^^^^^^^^^^^^^^^
1856 yield();
1857 goto repeat;
1858 }
1859 return -ENOSPC;
1860 }
You have failed exactly here.
So the bug happens even in case of ENOSPC (try following testase):
dd if=/dev/zero /mnt/BIG_FILE bs=1M
But it takes longer if partition is really huge.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 15025] Oops in ext4 driver
2010-01-10 13:09 [Bug 15025] New: Oops in ext4 driver bugzilla-daemon
` (11 preceding siblings ...)
2010-02-17 13:48 ` bugzilla-daemon
@ 2010-02-17 13:51 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2010-02-17 13:51 UTC (permalink / raw)
To: linux-ext4
http://bugzilla.kernel.org/show_bug.cgi?id=15025
--- Comment #12 from Dmitry Monakhov <dmonakhov@openvz.org> 2010-02-17 13:51:25 ---
Since calling "write_inode_now" from ext4_da_get_block_prep was the core of
the issue. And the patch move it to an upper level. So the issue was completely
fixed. Please close the bug as CODE_FIXED
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread