8000 Update mount creation to only use btrfs subvolume id by dmcgowan · Pull Request #1371 · containerd/containerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update mount creation to only use btrfs subvolume id #1371

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

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

dmcgowan
Copy link
Member

This is aimed at addressing the flaky btrfs tests. There appears to be a race between creating a subvolume and it showing up in the subvolume map. It is possible this is actually a race between creation and cleanup, but I have not discovered any place where this race occurs. If the flakiness still exists then we can rule out the not found errors. Either way, this change is valid as it avoids unnecessary metadata lookup.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@73ac66e). Click here to learn what that means.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1371   +/-   ##
=========================================
  Coverage          ?   36.31%           
=========================================
  Files             ?       23           
  Lines             ?     2897           
  Branches          ?        0           
=========================================
  Hits              ?     1052           
  Misses            ?     1608           
  Partials          ?      237
Impacted Files Coverage Δ
snapshot/btrfs/btrfs.go 51.01% <83.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73ac66e...0e28f2c. Read the comment docs.

@crosbymichael
Copy link
Member

LGTM

Copy link
Member
@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 240a7be into containerd:master Aug 17, 2017
@dmcgowan dmcgowan deleted the btrfs-test-errors branch September 10, 2019 17:46
ianlewis pushed a commit to ianlewis/containerd that referenced this pull request Dec 8, 2020
…groupns

cgroup2: unshare cgroup namespace for containers
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.

4 participants
0