Skip to content

Commit

Permalink
[XrdCl] PgRead: recover errors exactly at page size.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 22, 2021
1 parent 9a0b4ec commit d3c1e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClFileStateHandler.cc
Expand Up @@ -151,7 +151,7 @@ namespace
this, stateHandler->pFileUrl->GetURL().c_str(), pgnb );

uint64_t offset = orgOffset + pgnb * XrdSys::PageSize;
XRootDStatus st = stateHandler->PgReadRetry( offset, pgsize, pgnb, buffer, this, 0 );
XRootDStatus st = stateHandler->PgReadRetry( offset, XrdSys::PageSize, pgnb, buffer, this, 0 );
if( !st.IsOK())
{
*status = st; // the reason for this failure
Expand Down

0 comments on commit d3c1e34

Please sign in to comment.