libvirt/src/storage
Laine Stump e0f26c46ae fsync new storage volumes even if new volume was copied.
Originally the storage volume files were opened with O_DSYNC to make
sure they were flushed to disk immediately. It turned out that this
was extremely slow in some cases, so the O_DSYNC was removed in favor
of just calling fsync() after all the data had been written. However,
this call to fsync was inside the block that is executed to zero-fill
the end of the volume file. In cases where the new volume is copied
from an old volume, and they are the same length, this fsync would
never take place.

Now the fsync is *always* done, unless there is an error (in which
case it isn't important, and is most likely inappropriate.
2010-07-19 21:01:28 -04:00
..
parthelper.c RFC: Canonicalize block device paths 2010-07-15 12:57:01 -04:00
storage_backend_disk.c virFileResolveLink: fix return value 2010-05-17 14:48:27 -06:00
storage_backend_disk.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_fs.c Use the extract backing store format in storage volume lookup 2010-07-19 18:25:14 +01:00
storage_backend_fs.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_iscsi.c Remove virConnectPtr from storage APIs & driver 2010-02-10 13:32:11 +00:00
storage_backend_iscsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_logical.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_logical.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_mpath.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_mpath.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend_scsi.c storage: Check for invalid storage mode before opening 2010-05-28 15:47:49 -04:00
storage_backend_scsi.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_backend.c fsync new storage volumes even if new volume was copied. 2010-07-19 21:01:28 -04:00
storage_backend.h build: make cpp indentation conform 2010-05-29 09:45:21 +02:00
storage_driver.c Fix error codes for missing storage pools 2010-06-08 15:11:13 +01:00
storage_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00