Skip to content

client: fix wrong lock logic of ll_read_block() method - #9572

Merged
jcsp merged 1 commit into
ceph:masterfrom
xiexingguo:xxg-wip-fix-ll_read_block
Jun 14, 2016
Merged

jcsp merged 1 commit into
ceph:masterfrom
xiexingguo:xxg-wip-fix-ll_read_block

Conversation

@xiexingguo

Copy link
Copy Markdown
Member

Signed-off-by: xie xingguo [email protected]

@xiexingguo xiexingguo added bug-fix cephfs Ceph File System labels Jun 8, 2016
@jcsp

jcsp commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

This looks correct, but perhaps when cleaning this up you could simplify it further by replacing the C_SafeCond with a C_SaferCond, so that the done/cond vars are no longer needed? Currently we use a mixture, but when doing cleanup it is nice to replace things with SaferCond where possible

@xiexingguo
xiexingguo force-pushed the xxg-wip-fix-ll_read_block branch from 528dfca to 451c32b Compare June 8, 2016 10:24
@xiexingguo

Copy link
Copy Markdown
Member Author

Done and label this one as "needs-qa".
Thanks for the review!

@jcsp

jcsp commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

Reviewed-by

@jcsp
jcsp merged commit 40547be into ceph:master Jun 14, 2016
@xiexingguo
xiexingguo deleted the xxg-wip-fix-ll_read_block branch June 14, 2016 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants