}
void BlueStore::ExtentMap::dirty_range(
- KeyValueDB::Transaction t,
uint32_t offset,
uint32_t length)
{
}
o->extent_map.compress_extent_map(dirty_start, dirty_end - dirty_start);
- o->extent_map.dirty_range(txc->t, dirty_start, dirty_end - dirty_start);
+ o->extent_map.dirty_range(dirty_start, dirty_end - dirty_start);
r = 0;
out:
WriteContext wctx;
o->extent_map.fault_range(db, offset, length);
o->extent_map.punch_hole(c, offset, length, &wctx.old_extents);
- o->extent_map.dirty_range(txc->t, offset, length);
+ o->extent_map.dirty_range(offset, length);
_wctx_finish(txc, c, o, &wctx);
if (offset + length > o->onode.size) {
++n;
}
if (dirtied_oldo) {
- oldo->extent_map.dirty_range(txc->t, srcoff, length); // overkill
+ oldo->extent_map.dirty_range(srcoff, length); // overkill
txc->write_onode(oldo);
}
txc->write_onode(newo);
if (dstoff + length > newo->onode.size) {
newo->onode.size = dstoff + length;
}
- newo->extent_map.dirty_range(txc->t, dstoff, length);
+ newo->extent_map.dirty_range(dstoff, length);
_dump_onode(oldo);
_dump_onode(newo);
return 0;
uint32_t offset, uint32_t length);
/// ensure a range of the map is marked dirty
- void dirty_range(KeyValueDB::Transaction t,
- uint32_t offset, uint32_t length);
+ void dirty_range(uint32_t offset, uint32_t length);
extent_map_t::iterator find(uint64_t offset);