[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT)
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT) |
Date: |
Wed, 30 Apr 2008 23:05:42 +0200 |
User-agent: |
KMail/1.9.6 (enterprise 20070904.708012) |
Am Mittwoch, 30. April 2008 16:30:27 schrieb Blue Swirl:
> Maybe the alignment could be handled like AIO and synchronous IO
> emulation layers are added in bdrv_register, but at open stage?
You mean to preserve the original pread if the file is opened without O_DIRECT
and replace it by the emulation function only if O_DIRECT is really used?
Certainly possible in some way (having a function pointer in BDRVRawState),
but this won't save us anything.
But maybe I'm just missing your point. How exactly do you want to handle
things and what does it improve?
Kevin
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), (continued)
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/04/28
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Laurent Vivier, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Laurent Vivier, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Laurent Vivier, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/04/30
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Laurent Vivier, 2008/04/30
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Kevin Wolf, 2008/04/30
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Blue Swirl, 2008/04/30
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT),
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Jamie Lokier, 2008/04/29
- Re: [Qemu-devel] [PATCH] Align file accesses with cache=off (O_DIRECT), Jamie Lokier, 2008/04/29