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: Jon Nelson
Date: Tuesday, December 7, 2010 - 1:48 pm

On Tue, Dec 7, 2010 at 2:41 PM, Chris Mason <chris.mason@oracle.com> wrote:

Because this is all done in a transaction (which fails), and because
the table is a TEMPORARY table, there *are* no files once the
transaction fails because postgresql unlinks them.

I can modify the test to use real tables and do things outside of a
transaction, however.

I was using fdatasync[1] and now I'm using sync. I'm on 9 iterations
without a failure (on ext4 - no crypt). Theoretically, these settings
only make a difference in the event of a crash. However, could they
make a difference in terms of the paths taken in the kernel?


[1] for wal_sync_method

-- 
Jon
--
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? (was: Re: dm ..., Jon Nelson, (Tue Dec 7, 1:48 pm)
Re: hunt for 2.6.37 dm-crypt+ext4 corruption?, Milan Broz, (Wed Dec 8, 1:03 am)