mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
osd/osd_types.h: default to no data/omap digest for new object
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
afcb617dc9
commit
5345afa5d5
@ -4719,8 +4719,8 @@ struct object_info_t {
|
|||||||
omap_digest = -1;
|
omap_digest = -1;
|
||||||
}
|
}
|
||||||
void new_object() {
|
void new_object() {
|
||||||
set_data_digest(-1);
|
clear_data_digest();
|
||||||
set_omap_digest(-1);
|
clear_omap_digest();
|
||||||
}
|
}
|
||||||
|
|
||||||
void encode(bufferlist& bl, uint64_t features) const;
|
void encode(bufferlist& bl, uint64_t features) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user