Implementation of fuse lowlevel, ls cd mkdir rmdir. #849
Open
ibwroot wants to merge 3 commits intobaidu:masterfrom
Open
Implementation of fuse lowlevel, ls cd mkdir rmdir. #849ibwroot wants to merge 3 commits intobaidu:masterfrom
ibwroot wants to merge 3 commits intobaidu:masterfrom
Conversation
Conflicts: src/nameserver/namespace.h src/sdk/fs_impl.cc
yvxiang
reviewed
Feb 20, 2017
fuse_lowlevel/bfs_ll_mount.cc
Outdated
|
|
||
| static int reply_buf_limited(fuse_req_t req, const char *buf, size_t bufsize, | ||
| off_t off, size_t maxsize) { | ||
| if (bufsize - off > 0) |
src/nameserver/namespace.cc
Outdated
|
|
||
| //unfinshed, consistency not guranteed, to be continue | ||
| bool NameSpace::DeleteFileInfo(const std::string file_key, NameServerLog* log) { | ||
| int64_t entry_id; |
src/nameserver/namespace.cc
Outdated
| LOG(INFO, "path split fail %s", path.c_str()); | ||
| return kBadParameter; | ||
| } | ||
| LOG(INFO, "path split %s", path.c_str()); |
src/nameserver/namespace.cc
Outdated
| return kBadParameter; | ||
| } | ||
| LOG(INFO, "path split %s", path.c_str()); | ||
| LOG(INFO, "path[0] %s", paths[0].c_str()); |
src/nameserver/namespace.cc
Outdated
| s = db_i->Write(leveldb::WriteOptions(), &batch); | ||
| if (!s.ok()) { | ||
| LOG(INFO, "Unlink dentry fail: %s\n", dir_info.name().c_str()); | ||
| LOG(FATAL, "Namespace write to db_i fail!"); |
src/sdk/bfs.h
Outdated
| }; | ||
|
|
||
| struct BfsFileInfo { | ||
| uint64_t ino; |
Contributor
Author
There was a problem hiding this comment.
对,这个地方我想把proto fileinfo entry_id,及namespace的有关接口统一改成uint64_t,因为fuse lowlevel端的ino参数的类型是unsigned long
47733e5 to
feb03a0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.