std::lock_guard ll(log.lock);
vselector->sub_usage(h->file->vselector_hint, h->file->fnode.size);
h->file->fnode.size = offset;
+ h->file->is_dirty = true;
vselector->add_usage(h->file->vselector_hint, h->file->fnode.size);
log.t.op_file_update_inc(h->file->fnode);
return 0;
std::unique_lock hl(h->lock);
uint64_t old_dirty_seq = 0;
{
- dout(10) << __func__ << " " << h << " " << h->file->fnode << dendl;
+ dout(10) << __func__ << " " << h << " " << h->file->fnode
+ << " dirty " << h->file->is_dirty << dendl;
int r = _flush_F(h, true);
if (r < 0)
return r;