forked from checkpoint-restore/criu-image-streamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipes: simplify pipe capacity setting
When setting pipe capacities, we can get -EBUSY because the pipe may be even larger than we thought, with data already in it. We can also get -EPERM, because we don't have permission to increase the pipe capacity. These two reasons are enough to simply stop caring about the errors when setting pipe capacities. Well, that's true except when doing load balancing on pipes, because we need to know the capacity to be able to avoid blocking on writes. Signed-off-by: Nicolas Viennot <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters