forked from awslabs/mountpoint-s3
-
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.
Switch to cleaned up non-async fuser fork
Our current fuser fork has a messy commit history and does two big changes at once: (1) concurrent filesystems and (2) async filesystems. We don't actually need the async version right now -- it was incomplete and we were just running it on blocking threads anyway. This change redirects the fuser fork to our `fuser/fork` branch, which is a cleaned up history of the fork but without async support. Instead, we push the async support down into our implementation via `block_on`. This performs the same, but with a smaller change to fuser. In the future we'll still want to async-ify fuser so the entire stack can run on top of (the CRT's?) async runtime. But there's more work involved in correctly async-ifying fuser, like doing async IO on the FUSE device, so we can defer that for now. This change temporarily breaks the `--thread-count` command-line argument and so will tank concurrent performance tests. I'll fix that in a followup as I don't want this diff to get any bigger, and will fix unmount support (awslabs#93) at the same time. Signed-off-by: James Bornholt <[email protected]>
- Loading branch information
1 parent
cdc757a
commit 82d8e03
Showing
5 changed files
with
37 additions
and
74 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,11 @@ fi | |
|
||
rm -rf $FUSER_FULL_PATH | ||
|
||
git clone --branch fuser/async ssh://[email protected]/awslabs/mountpoint-s3.git $FUSER_FULL_PATH | ||
git clone --branch fuser/fork ssh://[email protected]/awslabs/mountpoint-s3.git $FUSER_FULL_PATH | ||
COMMIT=$(git -C $FUSER_FULL_PATH rev-parse --short HEAD) | ||
|
||
rm -rf $FUSER_FULL_PATH/.git | ||
|
||
git add $FUSER_FULL_PATH | ||
|
||
git commit -m "Update vendored fuser to $COMMIT" | ||
git commit -m "Update vendored fuser to $COMMIT" -s |