Re: [PATCH][RF C/T/D] Unmapped page cache control - via boot parameter

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Monday, March 15, 2010 - 5:43 pm

On Mon, Mar 15, 2010 at 06:43:06PM -0500, Anthony Liguori wrote:

Actually cache=writeback is as safe as any normal host is with a
volatile disk cache, except that in this case the disk cache is
actually a lot larger.  With a properly implemented filesystem this
will never cause corruption.  You will lose recent updates after
the last sync/fsync/etc up to the size of the cache, but filesystem
metadata should never be corrupted, and data that has been forced to
disk using fsync/O_SYNC should never be lost either.  If it is that's
a bug somewhere in the stack, but in my powerfail testing we never did
so using xfs or ext3/4 after I fixed up the fsync code in the latter
two.

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

Messages in current thread:
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Mon Mar 15, 5:43 pm)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Tue Mar 16, 1:19 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Tue Mar 16, 3:26 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Tue Mar 16, 3:44 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Wed Mar 17, 1:49 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Wed Mar 17, 9:52 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Wed Mar 17, 9:57 am)
Re: [PATCH][RF C/T/D] Unmapped page cache control - via bo ..., Christoph Hellwig, (Wed Mar 17, 9:58 am)