-
Notifications
You must be signed in to change notification settings - Fork 21
containerd/btrfs/v2 (CGO-less implementation from dennwc/btrfs) #34
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
Closed
Closed
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
16e18c5
Remove all the files
AkihiroSuda 81237e8
Initial version. WIP.
dennwc 9aa3cf0
Implement basic subvolume and snapshot commands. Exec-based send and …
dennwc 4d60b72
implement subvolumes list; regenerate headers; generate btrfs_tree.h
dennwc 9e60e55
native Send implementation
dennwc ea3cdb7
native Recv WIP
dennwc 02f01e2
SetFlags and SetCompression
dennwc c30c81b
fix fd leak
dennwc b839242
refactor ListSubvolumes
dennwc 470099e
expose GetMounts as a sub-package
dennwc fbb23e5
some docs
dennwc c6db025
implement GetCompression; add tests
dennwc 24cd949
implement usage stats
dennwc e52d936
add helper to check for zero uuid
dennwc 233b646
fix subvolume list
dennwc d8ac265
expose file clone ioctl; add test
dennwc 01d4674
decode root_item; more tests; uuid search wip
dennwc f3c3c6a
implement send for multiple snapshots
dennwc eb1e931
expose balance ioc
dennwc 14ca627
expose subvolume search functions; switch subvolume info structure
dennwc 8dce338
send: fix diff int overflow
dennwc 434eac4
send: recursive best parent search
dennwc a39a792
expose resize
dennwc 91f666b
refactor send definitions
dennwc 022e86b
send: implement stream reader
dennwc 0018d9b
switch to dennwc/ioctl library
dd114cf
support go modules
dennwc 4dd9ca3
expose method to get the subvolume id
dennwc c9f9681
cli: fix the package name
dennwc 0746c78
do not expose unexported objectid type to the user
dennwc 7d268be
Fix "constant 2435016766 overflows int32" on GOARCH=arm
AkihiroSuda 7a5b584
Switch license to Apache 2 to be CNCF-friendly.
dennwc bf5ebcf
dennwc/btrfs -> containerd/btrfs/v2
AkihiroSuda 0ebc59a
go generate: fix generator path + regenerate
AkihiroSuda c6b2e42
btrfs_test: fix import path
AkihiroSuda 21aa2db
Add back containerd boilterplate (but as a non-core subproject)
AkihiroSuda 38ecd2b
ioctl: import dennwc/ioctl
AkihiroSuda 412d0f4
add back cmd/gbtrfs/go.mod
AkihiroSuda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -178,15 +178,15 @@ | |
| APPENDIX: How to apply the Apache License to your work. | ||
|
|
||
| To apply the Apache License to your work, attach the following | ||
| boilerplate notice, with the fields enclosed by brackets "{}" | ||
| boilerplate notice, with the fields enclosed by brackets "[]" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lol |
||
| replaced with your own identifying information. (Don't include | ||
| the brackets!) The text should be enclosed in the appropriate | ||
| comment syntax for the file format. We also recommend that a | ||
| file or class name and description of purpose be included on the | ||
| same "printed page" as the copyright notice for easier | ||
| identification within third-party archives. | ||
|
|
||
| Copyright {yyyy} {name of copyright owner} | ||
| Copyright [yyyy] [name of copyright owner] | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # containerd/btrfs maintainers | ||
| # | ||
| # As a containerd sub-project, containerd maintainers are also included from https://github.com/containerd/project/blob/main/MAINTAINERS. | ||
| # See https://github.com/containerd/project/blob/main/GOVERNANCE.md for description of maintainer role | ||
| # | ||
| # COMMITTERS | ||
| # GitHub ID, Name, Email address | ||
| "dennwc","Denys Smirnov","dennwc@pm.me" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This TODO can be worked out after merging this PR