Probe *probe = new Probe(ino, *layout, snapid, start_from, end, pmtime, flags, fwd, onfinish);
// period (bytes before we jump unto a new set of object(s))
- uint64_t period = layout->fl_stripe_count * layout->fl_object_size;
+ uint64_t period = (uint64_t)layout->fl_stripe_count * (uint64_t)layout->fl_object_size;
// start with 1+ periods.
probe->probing_len = period;
// keep probing!
ldout(cct, 10) << "_probed probing further" << dendl;
- uint64_t period = probe->layout.fl_stripe_count * probe->layout.fl_object_size;
+ uint64_t period = (uint64_t)probe->layout.fl_stripe_count * (uint64_t)probe->layout.fl_object_size;
if (probe->fwd) {
probe->probing_off += probe->probing_len;
assert(probe->probing_off % period == 0);
uint64_t get_expire_pos() const { return expire_pos; }
uint64_t get_trimmed_pos() const { return trimmed_pos; }
- uint64_t get_layout_period() const { return layout.fl_stripe_count * layout.fl_object_size; }
+ uint64_t get_layout_period() const { return (uint64_t)layout.fl_stripe_count * (uint64_t)layout.fl_object_size; }
ceph_file_layout& get_layout() { return layout; }
// write