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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Webb
Date: Wednesday, March 17, 2010 - 9:27 am

Anthony Liguori <anthony@codemonkey.ws> writes:


Okay. What I was driving at in describing these systems as 'already broken'
is that they will already lose data (in this sense) if they're run on bare
metal with normal commodity SATA disks with their 32MB write caches on. That
configuration surely describes the vast majority of PC-class desktops and
servers!

If I understand correctly, your point here is that the small cache on a real
SATA drive gives a relatively small time window for data loss, whereas the
worry with cache=writeback is that the host page cache can be gigabytes, so
the time window for unsynced data to be lost is potentially enormous.

Isn't the fix for that just forcing periodic sync on the host to bound-above
the time window for unsynced data loss in the guest?

Cheers,

Chris.
--
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 ..., Chris Webb, (Wed Mar 17, 9:27 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)