| From | Subject | Date |
|---|---|---|
| Eric Sandeen | Re: fio test triggering bad data on ext4
Jens, can you try XFS too? Since ext3 can't do direct IO to a hole,
(and I'm not sure about btrfs in that regard), ext4 may be most similar
to xfs's behavior on the test ... wondering how it fares.
Thanks,
-Eric
--
| Jun 18, 7:02 am 2010 |
| Eric Sandeen | Re: fio test triggering bad data on ext4
Actually mingming had a patch for direct-io.c which may be related, I'll
test that out.
-Eric
--
| Jun 18, 7:59 am 2010 |
| Jens Axboe | Re: fio test triggering bad data on ext4
OK, I'll try XFS tonight as well.
--
Jens Axboe
--
| Jun 18, 8:13 am 2010 |
| Jens Axboe | Re: fio test triggering bad data on ext4
Irk indeed, I am blind. The patch does not fix it.
--
Jens Axboe
--
| Jun 18, 11:14 am 2010 |
| Jens Axboe | fio test triggering bad data on ext4
Hi,
I was writing a small fio job file to do writes and read verifies on a
device. It forks 32 processes, each writing randomly to 4 files with a
block size between 4k and 16k. When it has written 1024 of those blocks,
it'll verify the oldest 512 of them. Each block is checksummed for every
512b. It uses libaio and O_DIRECT.
It works on ext2 and btrfs. I haven't run it to completion yet, but they
survive 15-20 minutes just fine. ext4 doesn't even go a full minutes
before this ...
| Jun 18, 1:07 am 2010 |
| Eric Sandeen | Re: fio test triggering bad data on ext4
I haven't been able to reproduce it on ext4 here, yet.
FWIW here's the patch from mingming:
When unaligned DIO writes, skip zero out the block if the buffer is marked
unwritten. That means there is an asynconous direct IO (append or fill the hole)
still pending.
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
---
fs/direct-io.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: ...
| Jun 18, 8:28 am 2010 |
| Jens Axboe | Re: fio test triggering bad data on ext4
What is this patch against?
--
Jens Axboe
--
| Jun 18, 10:32 am 2010 |
| Jens Axboe | Re: fio test triggering bad data on ext4
XFS fails too.
--
Jens Axboe
--
| Jun 18, 10:36 am 2010 |
| Eric Sandeen | Re: fio test triggering bad data on ext4
Applied to 2.6.32, seems to apply upstream as well.
It hits dio_zero-block()
-Eric
--
| Jun 18, 11:04 am 2010 |
| bugzilla-daemon | [Bug 16165] Wrong data returned on read after write if f ...
https://bugzilla.kernel.org/show_bug.cgi?id=16165
--- Comment #11 from Frank Mehnert <frank.mehnert@sun.com> 2010-06-18 15:13:44 ---
This problem is probably related:
http://www.spinics.net/lists/linux-ext4/msg19493.html
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
| Jun 18, 8:13 am 2010 |
| bugzilla-daemon | [Bug 16165] Wrong data returned on read after write if f ...
https://bugzilla.kernel.org/show_bug.cgi?id=16165
--- Comment #12 from Eric Sandeen <sandeen@redhat.com> 2010-06-18 15:30:13 ---
Can those who can reproduce this test this patch from mingming?
When unaligned DIO writes, skip zero out the block if the buffer is marked
unwritten. That means there is an asynconous direct IO (append or fill the
hole)
still pending.
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
---
fs/direct-io.c | 3 ++-
1 file changed, 2 insertions(+), 1 ...
| Jun 18, 8:30 am 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #36 from Klaus Lichtenwalder <lichtenwalder@acm.org> 2010-06-18 14:51:28 ---
Created an attachment (id=26846)
--> (https://bugzilla.kernel.org/attachment.cgi?id=26846)
Config for 32bit kernel
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
--
| Jun 18, 7:51 am 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #33 from Mihai Harpau <mishu@piatafinanciara.ro> 2010-06-18 09:40:36 ---
If I do the following on Fedora 13:
- boot on runlevel 3 with "nomodeset 3" on grub line
- from root prompt run "modprobe -r i915"
- run pm-hibernate
then I don't see anymore the messages from comment 1 and all seems to be fine.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: ...
| Jun 18, 2:40 am 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #32 from Klaus Lichtenwalder <lichtenwalder@acm.org> 2010-06-18 06:32:19 ---
Well, just going in runlevel 3 is not enough, as drm loads i915 even then, from
initramfs. You need to create an initramfs without the i915 moule.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
--
| Jun 17, 11:32 pm 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #37 from Klaus Lichtenwalder <lichtenwalder@acm.org> 2010-06-18 14:52:04 ---
In my case it's a Fedora 13 32bit kernel. Just for completeness I attached the
config (Comment 36).
Klaus
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
--
| Jun 18, 7:52 am 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #34 from Eric Sandeen <sandeen@redhat.com> 2010-06-18 13:59:35 ---
Ok. So, I think i915 is certainly one root cause of this problem. There could
be others.
David, are you certain that you can hit it without i915 loaded? If so then
there is more to track down.
Thanks,
-Eric
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are ...
| Jun 18, 6:59 am 2010 |
| bugzilla-daemon | [Bug 16019] Resume from hibernate corrupts ext4
https://bugzilla.kernel.org/show_bug.cgi?id=16019
--- Comment #35 from Rafael J. Wysocki <rjw@sisk.pl> 2010-06-18 14:39:17 ---
Also, I'd like to know if the kernels the issue is reproducible with are
64-bit or 32-bit, and if 32-bit, then what memory .config options are set
(ie. is highmem set and if so, what kind of highmem etc.).
I'm unable to reproduce the issue with my i915 hardware and a 64-bit kernel,
FWIW.
--
Configure bugmail: ...
| Jun 18, 7:39 am 2010 |
| previous day | today | next day |
|---|---|---|
| June 17, 2010 | June 18, 2010 | June 19, 2010 |
