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

os/bluestore: fix potential access violation #15657

Merged
merged 2 commits into from Jun 16, 2017

Conversation

Projects
None yet
3 participants
@xiexingguo
Member

xiexingguo commented Jun 13, 2017

We may extend extent_map_shards if necessary, and there is
no guarantee the memory of an unreserved vector won't be allocated.

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

xiexingguo added some commits Jun 13, 2017

os/bluestore: fix potential access violation
We may extend extent_map_shards if necessary, and there is
no guarantee the memory of an unreserved vector won't be allocated.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
os/bluestore: make sure we update shards and extent_map_shards simuta…
…neously

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

ifed01 approved these changes Jun 13, 2017

@liewegas liewegas merged commit f7ede9b into ceph:master Jun 16, 2017

3 of 4 checks passed

arm64 make check arm64 make check triggered
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@xiexingguo xiexingguo deleted the xiexingguo:wip-reshard-allocation branch Jun 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment