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

Use append mode in 'dd' when the desired swap size is not a multiple of 64M (#2286) #2601

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

vittyvk
Copy link
Contributor

@vittyvk vittyvk commented Jun 1, 2022

First 'dd' command creates the swap in multiples of 64M and the second
is supposed to add the rest, however, with no 'oflag=append' it just
overwrites what was already written so the file doesn't grow as desired.

Signed-off-by: Vitaly Kuznetsov [email protected]

Description

Issue #2286


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made

Quality of Code and Contribution Guidelines

@narrieta
Copy link
Member

@anhvoms could you take a look? thanks

@narrieta narrieta changed the base branch from master to develop July 20, 2022 15:22
@narrieta
Copy link
Member

@vittyvk could you base your PR on the develop branch?

…of 64M (Azure#2286)

First 'dd' command creates the swap in multiples of 64M and the second
is supposed to add the rest, however, with no 'oflag=append' it just
overwrites what was already written so the file doesn't grow as desired.

Signed-off-by: Vitaly Kuznetsov <[email protected]>
@codecov
Copy link

codecov bot commented Aug 2, 2022

Codecov Report

Merging #2601 (95c261f) into develop (1f84bac) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #2601   +/-   ##
========================================
  Coverage    72.02%   72.03%           
========================================
  Files          103      103           
  Lines        15745    15746    +1     
  Branches      2501     2501           
========================================
+ Hits         11341    11342    +1     
  Misses        3887     3887           
  Partials       517      517           
Impacted Files Coverage Δ
azurelinuxagent/daemon/resourcedisk/default.py 38.38% <100.00%> (+0.29%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@vittyvk
Copy link
Contributor Author

vittyvk commented Nov 29, 2022

Ping?

@narrieta
Copy link
Member

@anhvoms - could you take a look? thanks

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.

3 participants