Message ID | 315e562227b2668a0a376ff9eb9138e3b6689882.1432891306.git.berto@igalia.com |
---|---|
State | New |
Headers | show |
Am 29.05.2015 um 11:24 hat Alberto Garcia geschrieben: > Changing the current ordering saves 8 bytes per cache entry in x86_64. > > Signed-off-by: Alberto Garcia <berto@igalia.com> > Reviewed-by: Max Reitz <mreitz@redhat.com> > Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c index a215f5b..43590ff 100644 --- a/block/qcow2-cache.c +++ b/block/qcow2-cache.c @@ -31,9 +31,9 @@ typedef struct Qcow2CachedTable { int64_t offset; - bool dirty; uint64_t lru_counter; int ref; + bool dirty; } Qcow2CachedTable; struct Qcow2Cache {