-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: fix update container rootfs disk quota recursively timeout
Updating disk quota to a running container will set quota ID to all files and directories under UpperDir in function SetQuotaForDir, which will take a long while. Because it will costs much time in getMountpointFstype, CheckRegularFile and filepath.Walk. Call SetQuotaForDir Asynchronously when updating disk quota . Signed-off-by: Wang Rui <baijia.wr@antfin.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 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