Skip to content

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

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

client: fix wrong lock logic of ll_read_block() method#9572
jcsp merged 1 commit intoceph:masterfrom
xiexingguo:xxg-wip-fix-ll_read_block

Conversation

@xiexingguo
Copy link
Member

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

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

jcsp commented Jun 8, 2016

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
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo
Copy link
Member Author

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

@jcsp
Copy link
Contributor

jcsp commented Jun 8, 2016

Reviewed-by

@jcsp jcsp merged commit 40547be into ceph:master Jun 14, 2016
@jcsp
Copy link
Contributor

jcsp commented 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