]> xenbits.xensource.com Git - libvirt.git/commit
Create raw storage files with O_DSYNC
authorJiri Denemark <jdenemar@redhat.com>
Mon, 8 Feb 2010 15:10:02 +0000 (16:10 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 9 Feb 2010 15:51:15 +0000 (16:51 +0100)
commita82a87f26b0a6bacb53f3c7cd200a86a026ab6df
tree66179ad26c5ba0c9faa3d902cb7ab0f5b7696267
parent5dee786d7bb0f6782035dadadd01940c23dbbeba
Create raw storage files with O_DSYNC

When creating preallocated large raw files opening them with O_DSYNC
prevents long delays in reading because cache pages can be immediately
reused without writing them on a disk first.
src/storage/storage_backend.c