Skip to content

Commit

Permalink
[XrdXrootdProtocol] do_WriteSpan() - Add written bytes in file statis…
Browse files Browse the repository at this point in the history
…tics

Fixes xrootd#2368
  • Loading branch information
ccaffy authored and amadio committed Jan 14, 2025
1 parent 9d69b45 commit e7bfb04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XrdXrootd/XrdXrootdXeq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3379,6 +3379,7 @@ int XrdXrootdProtocol::do_WriteSpan()
if (Monitor.InOut())
Monitor.Agent->Add_wr(IO.File->Stats.FileID, Request.write.dlen,
Request.write.offset);
IO.File->Stats.wrOps(IO.IOLen); // Optimistically correct

// Trace this entry
//
Expand Down

0 comments on commit e7bfb04

Please sign in to comment.