bluesky_time_hires elapsed = bluesky_now_hires() - async->start_time;
bluesky_time_hires latency = bluesky_now_hires() - async->exec_time;
- g_mutex_lock(async->store->lock);
- async->store->pending--;
- if (async->store->pending == 0)
- g_cond_broadcast(async->store->cond_idle);
- g_mutex_unlock(async->store->lock);
+ if (async->op != STORE_OP_BARRIER) {
+ g_mutex_lock(async->store->lock);
+ async->store->pending--;
+ if (async->store->pending == 0)
+ g_cond_broadcast(async->store->cond_idle);
+ g_mutex_unlock(async->store->lock);
+ }
async->status = ASYNC_COMPLETE;
g_cond_broadcast(async->completion_cond);
g_mutex_lock(inode->lock);
encode_pre_wcc(&result.commit3res_u.resok.file_wcc, inode);
- bluesky_inode_do_sync(inode);
+ //bluesky_inode_do_sync(inode);
result.commit3res_u.resok.file_wcc.after.present = TRUE;
encode_fattr3(&result.commit3res_u.resok.file_wcc.after.post_op_attr_u.attributes, inode);