-
Notifications
You must be signed in to change notification settings - Fork 131
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
WIP: Parallel Decomp - Global pool in separate class and... #3556
base: devel
Are you sure you want to change the base?
WIP: Parallel Decomp - Global pool in separate class and... #3556
Conversation
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: FAILURE |
linter finished with errors:
|
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: FAILURE |
cloudtest looks good. the 2 commits since then did not touch any code logic --> no new cloudtest need |
@cernvm-bot cloudtest |
linter finished with errors:
|
building for cloudtests finished: SUCCESS |
cloudtests finished: FAILURE |
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: FAILURE |
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: SUCCESS |
cvmfs/network/download.cc
Outdated
} else { | ||
const int64_t written = info->sink()->Write(ptr, num_bytes); | ||
if (written < 0 || static_cast<uint64_t>(written) != num_bytes) { | ||
PANIC(kLogStderr | kLogDebug, "(id %" PRId64 ") " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the CallbackCurlData()
this is a plain LogCvmfs()
statement, but here its a PANIC()
. Is there a reason why? If possible, it might make sense to refactor these section into a single helper if they are identical. Also, if we cant write to the sync, we should stop the download, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching this!
yes also the download should be stopped
linter finished with errors:
|
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: FAILURE |
last thing what is missing is the rebase onto devel |
…s for the callbackcurldata for tube element data size: use CURL_MAX_WRITE_SIZE Use GetUnusedDataTubeElement for all cases instead of malloc
…ontrollable by cvmfs params add asserts and class documentation
… for parallel decomp
28ff63b
to
0e2c64c
Compare
@cernvm-bot cloudtest |
building for cloudtests finished: SUCCESS |
cloudtests finished: SUCCESS |
this pr is now ready to review it includes the fix for #3563 |
Fixes #3493 |
CVMFS params to adjust memory footprint
TODO:
Clone()
for external downloadmanager. right now aClone()
does nothing and will disable this feature.