diff options
author | Charlie Shepherd <charlie@ctshepherd.com> | 2013-11-15 19:47:01 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-11-29 13:40:36 +0100 |
commit | 14b98fdaf3422fef19718033be9eca7e0b776a26 (patch) | |
tree | bdb0f5783e821edb482247c161692ba9528aa060 /vl.c | |
parent | 21b568350861a2c6eedfef95b70f88faf2fbd32a (diff) |
COW: Speed up writes
Process a whole sector's worth of COW bits by reading a sector, setting
the bits after skipping any already set bits, then writing it out again.
Make sure we only flush once before writing metadata, and only if we
need to write metadata.
Signed-off-by: Charlie Shepherd <charlie@ctshepherd.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions