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

wip 7958 #1594

Merged
merged 9 commits into from Apr 8, 2014
Merged

wip 7958 #1594

merged 9 commits into from Apr 8, 2014

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Apr 3, 2014

No description provided.

@ukernel ukernel closed this Apr 3, 2014
@ukernel ukernel changed the title client: implement RDCACHE reference tracking wip 7958 Apr 3, 2014
@ukernel ukernel reopened this Apr 3, 2014
@ukernel
Copy link
Contributor Author

ukernel commented Apr 4, 2014

lot of bugs are revealed ;)

Yan, Zheng added 9 commits April 5, 2014 00:47
make the code be able to track Fc caps used by aysnc buffer reads

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Fcr caps prevent the file from being truncated.

Fixes: #7958
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Pass properly 'retain' to Client::send_cap() because it is used to
adjust cap->issued.

Also make Client::encode_inode_release() not release used/dirty caps.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
When MDS receives the getattr request, corresponding inode's filelock
can be in unstable state which waits for client's Fr cap.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
drop parameter 'keep_caps'

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
liewegas pushed a commit that referenced this pull request Apr 8, 2014
wip 7958

Passed sage-2014-04-07_07:04:02-fs-wip-7958-testing-basic-plana.

Reviewed-by: Sage Weil <sage@inktank.com>
@liewegas liewegas merged commit 9ea31f1 into master Apr 8, 2014
@liewegas liewegas deleted the wip-7958 branch April 8, 2014 04:27
@xinxinsh
Copy link

xinxinsh commented May 2, 2014

"Yan, Zheng" notifications@github.com编写:

Reopened #1594.


Reply to this email directly or view it on GitHub.

@xinxinsh
Copy link

xinxinsh commented May 2, 2014

"Yan, Zheng" notifications@github.com编写:

lot of bugs are revealed ;)


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants