···245245 * it has been sent to the client.246246 */247247 set_op_state_inprogress(cur_op);248248+ gossip_debug(GOSSIP_DEV_DEBUG,249249+ "%s: 1 op:%s: op_state:%d: process:%s:\n",250250+ __func__,251251+ get_opname_string(cur_op),252252+ cur_op->op_state,253253+ current->comm);248254 orangefs_devreq_add_op(cur_op);249255 spin_unlock(&cur_op->lock);250256 spin_unlock(&htable_ops_in_progress_lock);···268262 spin_lock(&cur_op->lock);269263 if (likely(!op_state_given_up(cur_op))) {270264 set_op_state_waiting(cur_op);265265+ gossip_debug(GOSSIP_DEV_DEBUG,266266+ "%s: 2 op:%s: op_state:%d: process:%s:\n",267267+ __func__,268268+ get_opname_string(cur_op),269269+ cur_op->op_state,270270+ current->comm);271271 list_add(&cur_op->list, &orangefs_request_list);272272 spin_unlock(&cur_op->lock);273273 } else {···428416 complete(&op->waitq);429417 } else {430418 set_op_state_serviced(op);419419+ gossip_debug(GOSSIP_DEV_DEBUG,420420+ "%s: op:%s: op_state:%d: process:%s:\n",421421+ __func__,422422+ get_opname_string(op),423423+ op->op_state,424424+ current->comm);431425 spin_unlock(&op->lock);432426 }433427 return ret;
+2-6
fs/orangefs/file.c
···214214 goto out;215215 }216216 gossip_debug(GOSSIP_FILE_DEBUG,217217- "%s(%pU): Amount written as returned by the sys-io call:%d\n",217217+ "%s(%pU): Amount %s, returned by the sys-io call:%d\n",218218 __func__,219219 handle,220220+ type == ORANGEFS_IO_READ ? "read" : "written",220221 (int)new_op->downcall.resp.io.amt_complete);221222222223 ret = new_op->downcall.resp.io.amt_complete;223223-224224- /*225225- * tell the device file owner waiting on I/O that this read has226226- * completed and it can return now.227227- */228224229225out:230226 if (buffer_index >= 0) {