These are on my todo list elsewhere.
Signed-off-by: Sage Weil <sage@redhat.com>
assert(off < size);
assert(off + len <= size);
-#warning fix discard (aio?)
- //return fs->zero(fd, off, len);
bufferlist bl;
while (len > 0) {
bufferlist t;
void BlueFS::_compact_log()
{
-#warning smarter _compact_log
// FIXME: we currently hold the lock while writing out the compacted log,
// which may mean a latency spike. we could drop the lock while writing out
// the big compacted log, while continuing to log at the end of the old log
}
}
-// reclaim?
-#warning reclaim freespace from bluefs?
+ // FIXME: reclaim from bluefs?
return ret;
}
return 0;
assert(0 == "this is all broken");
-#warning overlays are broken
uint64_t min_alloc_size = g_conf->bluestore_min_alloc_size;
&cow_rmw_head, &cow_rmw_tail);
if (r < 0)
return r;
-#warning fixme rmw cow?
bp = o->onode.find_extent(offset);
if (bp->second.has_flag(bluestore_extent_t::FLAG_UNWRITTEN)) {
dout(10) << __func__ << " zero new allocation " << bp->second << dendl;