Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce maxCSSZ to avoid readv EINVAL error #1749

Closed
wants to merge 1 commit into from

Conversation

Jo-stfc
Copy link
Collaborator

@Jo-stfc Jo-stfc commented Jul 25, 2022

if the reported value goes above 2093056, clients crash due to readv having iovcnt > 1024.
The original value of 1022 * page size of 4096 generated dlen of 4186112. These were then resolved client side in XrdCl/XrdClAsyncPageReader.hh to ::readv calls of iovcnt 2044, triggering the einval error.

fix for #1740

if the reported value goes above 2093056, clients crash due to readv having iovcnt > 1024
@simonmichal
Copy link
Contributor

@Jo-stfc : thanks a lot for your PR and for your investigation and understanding the root cause of the problem, it has been fixed in the client: 8319e53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants