void ScrubMap::object::encode(bufferlist& bl) const
{
- ENCODE_START(5, 2, bl);
+ ENCODE_START(6, 2, bl);
::encode(size, bl);
::encode(negative, bl);
::encode(attrs, bl);
::encode(snapcolls, bl);
::encode(omap_digest, bl);
::encode(omap_digest_present, bl);
+ ::encode(read_error, bl);
ENCODE_FINISH(bl);
}
::decode(omap_digest, bl);
::decode(omap_digest_present, bl);
}
+ if (struct_v >= 6) {
+ ::decode(read_error, bl);
+ }
DECODE_FINISH(bl);
}
set<snapid_t> snapcolls;
__u32 omap_digest;
bool omap_digest_present;
+ bool read_error;
object() :
size(0), negative(false), digest(0), digest_present(false),
- nlinks(0), omap_digest(0), omap_digest_present(false) {}
+ nlinks(0), omap_digest(0), omap_digest_present(false),
+ read_error(false) {}
void encode(bufferlist& bl) const;
void decode(bufferlist::iterator& bl);