]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: initialize generate_test_instances() objects
authorIlya Dryomov <idryomov@gmail.com>
Tue, 19 Apr 2022 09:21:05 +0000 (11:21 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 21 Apr 2022 18:37:20 +0000 (20:37 +0200)
commit239e06b8096639c5ab27a08e2df535d314641f3f
tree027295f89d2f84a7f15fd3bfc9239d7e5ad1e4e3
parent27e7ddf9b5f29845d18753ba68b14ac098d28e49
librbd/cache/pwl: initialize generate_test_instances() objects

... to prevent check-generated.sh failures such as:

**** librbd::cache::pwl::WriteLogPoolRoot test 1 dump_json check failed ****
   ceph-dencoder type librbd::cache::pwl::WriteLogPoolRoot select_test 1 dump_json > /tmp/typ-cAoWrqlHC
   ceph-dencoder type librbd::cache::pwl::WriteLogPoolRoot select_test 1 encode decode dump_json > /tmp/typ-ES5yHpfGL
5c5
<     "flushed_sync_gen": 0,
---
>     "flushed_sync_gen": 255,

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2c131f57d63454de39210375ce75a282df6fe365)
src/librbd/cache/pwl/Types.cc
src/librbd/cache/pwl/ssd/Types.h