Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Ts'o
Date: Sunday, December 12, 2010 - 5:43 am

On Sun, Dec 12, 2010 at 04:18:29AM -0600, Jon Nelson wrote:

I've finally been able to reproduce it myself, on real hardware.  SMP
is not necessary to reproduce it, although having more than one CPU
doesn't hurt.  What I did need to do (on real hardware with 4 gigs of
memory) was to turn off swap and pin enough memory so that free memory
was around 200megs or so before the start of the test.  (This is the
natural amount of free memory that the system would try to reach,
since 200 megs is about 5% of 4 gigs.)

Then, during the test, free memory would drop to 50-70 megabytes,
forcing writeback to run, and then I could trigger it about 1-2 times
out of three.

I'm guessing that when you used 512mb of memory, that was in effect a
memory-constriction test, and if you were to push the memory down a
little further, it might reproduce even more quickly.  My next step is
to try to reproduce this in a VM, and then I can start probing to see
what might be going on.

						- Ted
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: dm-crypt barrier support is effective, Milan Broz, (Sun Nov 14, 2:54 pm)
Re: dm-crypt barrier support is effective, Matt, (Sun Nov 14, 4:24 pm)
Re: dm-crypt barrier support is effective, Heinz Diehl, (Mon Nov 15, 12:25 am)
Re: dm-crypt barrier support is effective, Milan Broz, (Mon Nov 15, 1:41 am)
Re: dm-crypt barrier support is effective, Matt, (Wed Dec 1, 9:05 am)
Re: dm-crypt barrier support is effective, Mike Snitzer, (Wed Dec 1, 9:52 am)
Re: dm-crypt barrier support is effective, Matt, (Wed Dec 1, 10:35 am)
Re: dm-crypt barrier support is effective, Milan Broz, (Wed Dec 1, 11:24 am)
Re: dm-crypt barrier support is effective, Jon Nelson, (Wed Dec 1, 12:34 pm)
Re: dm-crypt barrier support is effective, Heinz Diehl, (Wed Dec 1, 12:59 pm)
Re: dm-crypt barrier support is effective, Milan Broz, (Wed Dec 1, 1:45 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Milan Broz, (Sun Dec 5, 3:21 am)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Heinz Diehl, (Sun Dec 5, 5:49 am)
Re: [dm-devel] hunt for 2.6.37 dm-crypt+ext4 corruption?, Daniel J Blueman, (Sun Dec 5, 1:17 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Mike Snitzer, (Sun Dec 5, 2:15 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Milan Broz, (Wed Dec 8, 1:03 am)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm ..., Ted Ts'o, (Sun Dec 12, 5:43 am)