]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
seastore/cbjournal: remove unused field
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 01:59:10 +0000 (10:59 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:49:28 +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 e337246a15e75cc4624accf19adfef268432d530..a027b4f2ed6551b222c4dee27b5f6305a8192f76 100644 (file)
@@ -22,7 +22,6 @@ std::ostream &operator<<(std::ostream &out,
             << ", journal_tail=" << header.journal_tail
             << ", applied_to="<< header.applied_to
             << ", written_to=" << header.written_to
-            << ", flsg=" << header.flag
             << ", header_checksum=" << header.header_checksum
              << ")";
 }
index fee6eec0cbe3b8c40ff980aef2561dd1d8982152..79075e38289ed9187ce99e49557af9ee0b00d7ca 100644 (file)
@@ -215,7 +215,6 @@ public:
     // address to represent where last appllied record is written
     rbm_abs_addr applied_to = 0;
 
-    uint64_t flag = 0;       // represent features (reserved)
     checksum_t header_checksum = 0;       // checksum of entire cbj_header_t
 
     device_id_t device_id;
@@ -232,7 +231,6 @@ public:
       denc(v.written_to, p);
       denc(v.applied_to, p);
 
-      denc(v.flag, p);
       denc(v.header_checksum, p);
       denc(v.device_id, p);