]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
seastore/cbjournal: remove error field
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 6 May 2022 06:51:08 +0000 (15:51 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:49:04 +0000 (09:49 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/journal/circular_bounded_journal.cc
src/crimson/os/seastore/journal/circular_bounded_journal.h

index f0059f9a4cc438a723bfaeea75ac4d32bd070d91..92d597aebdc72a966406d3cf1373f904d6364423 100644 (file)
@@ -19,7 +19,6 @@ std::ostream &operator<<(std::ostream &out,
             << ", uuid=" << header.uuid
             << ", block_size=" << header.block_size
             << ", size=" << header.size
-            << ", error=" << header.error
             << ", start_offset=" << header.start_offset
             << ", applied_to="<< header.applied_to
             << ", written_to=" << header.written_to
index 9578790e2f0b8ebfe5a78a6c6392b6b897b439a5..6c06cad581e0dbadcc5cf4ec63e630d07bfb3e1b 100644 (file)
@@ -209,7 +209,6 @@ public:
     uuid_d uuid;
     uint64_t block_size = 0; // block size of underlying device
     uint64_t size = 0;   // max length of journal
-    uint32_t error = 0;      // reserved
 
     // start offset of CircularBoundedJournal in the device (start + header length)
     rbm_abs_addr start_offset = 0;
@@ -230,7 +229,6 @@ public:
       denc(v.magic, p);
       denc(v.uuid, p);
       denc(v.block_size, p);
-      denc(v.error, p);
 
       denc(v.start_offset, p);