in src/analysis/print_analyzer.cpp [1019:1061]
void PrintAnalyzer::write3(const RPCProcedure* proc,
const struct NFS3::WRITE3args* args,
const struct NFS3::WRITE3res* res)
{
if(!print_procedure(out, proc)) {
return;
}
if(args)
{
out << "\tCALL [ file: " << args->file
<< " offset: " << args->offset
<< " count: " << args->count
<< " stable: " << args->stable
<< " ]\n";
}
if(res)
{
out << "\tREPLY [ status: " << res->status;
if(out_all())
{
if(res->status == NFS3::nfsstat3::NFS3_OK)
{
out << " file_wcc: "
<< res->WRITE3res_u.resok.file_wcc
<< " count: "
<< res->WRITE3res_u.resok.count
<< " committed: "
<< res->WRITE3res_u.resok.committed
<< " verf: ";
print_hex(out,
res->WRITE3res_u.resok.verf,
NFS3::NFS3_WRITEVERFSIZE);
}
else
{
out << " file_wcc: "
<< res->WRITE3res_u.resfail.file_wcc;
}
}
out << " ]\n";
}
}