[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [RFC][PATCH] make sure disk writes actually hit dis
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] Re: [RFC][PATCH] make sure disk writes actually hit disk |
Date: |
Fri, 28 Jul 2006 21:30:09 +0100 |
User-agent: |
KMail/1.9.3 |
> > With a proper async API, is there any reason why we would want this to be
> > tunable? I don't think there's much of a benefit of prematurely claiming
> > a write is complete especially once the SCSI emulation can support
> > multiple simultaneous requests.
>
> You're right. This O_SYNC bandaid should probably stay in place
> to prevent data corruption, until the AIO framework is ready to
> be used.
It's arguable whether O_SYNC is needed at all. Qemu doesn't claim data is
written to disk, and provides facilities for the guest OS to flush the cache,
just like real hardware does.
Have you measured the impact of O_SYNC? I wouldn't be surprised if it was
significant.
Paul
Re: [Qemu-devel] [RFC][PATCH] make sure disk writes actually hit disk, Fabrice Bellard, 2006/07/29
Re: [Qemu-devel] [RFC][PATCH] make sure disk writes actually hit disk, Bill C. Riemers, 2006/07/29