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/KernelDevice: kill zeros #12856

Merged
merged 4 commits into from Jan 10, 2017

Conversation

Projects
None yet
3 participants
@xiexingguo
Member

xiexingguo commented Jan 10, 2017

This is not needed anymore and can save us 1MB memory.

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

xiexingguo added some commits Jan 10, 2017

os/bluestore/KernelDevice: kill zeros
This is not needed anymore and can save us 1MB memory.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
os/bluestore/NVMeDevice: kill zeros
See 2cd63d2
The aio_zero() interface is deprecated.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
os/bluestore/KernelDevice: drop redundant assignment statements
The memset() call has already done it.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
os/bluestore/KernelDevice: reuse r
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@ifed01

ifed01 approved these changes Jan 10, 2017

LGTM

@liewegas liewegas merged commit 533311e into ceph:master Jan 10, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@xiexingguo xiexingguo deleted the xiexingguo:xxg-wip-clean-kd branch Jan 10, 2017

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