]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: reorder members of bluefs_extent_t to make it smaller. 21034/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Sat, 24 Mar 2018 11:45:51 +0000 (12:45 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Sun, 25 Mar 2018 16:26:44 +0000 (18:26 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/os/bluestore/bluefs_types.h

index 06cfbdbafdd62395642daaff0781ba16d778304f..4634be503852c2d83a6264573624779f9cc92b33 100644 (file)
 
 class bluefs_extent_t {
 public:
-  uint8_t bdev;
   uint64_t offset = 0;
   uint32_t length = 0;
+  uint8_t bdev;
 
   bluefs_extent_t(uint8_t b = 0, uint64_t o = 0, uint32_t l = 0)
-    : bdev(b), offset(o), length(l) {}
+    : offset(o), length(l), bdev(b) {}
 
   uint64_t end() const { return  offset + length; }
   DENC(bluefs_extent_t, v, p) {