For `BlueStore`, `MemStore` and `KStore` the `status()`
unconditionally returns `0`.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
iter->seek_to_first();
}
int max = g_conf()->osd_deep_scrub_keys;
- while (iter->status() == 0 && iter->valid()) {
+ while (iter->valid()) {
pos.omap_bytes += iter->value().length();
++pos.omap_keys;
--max;
pos.omap_pos = iter->key();
return -EINPROGRESS;
}
- if (iter->status() < 0) {
- dout(25) << __func__ << " " << poid
- << " on omap scan, db status error" << dendl;
- o.read_error = true;
- return 0;
- }
}
if (pos.omap_keys > cct->_conf->