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/aio: remove the redundant memset(struct iocb) #13662

Merged
merged 1 commit into from Mar 1, 2017

Conversation

Projects
None yet
2 participants
@majianpeng
Member

majianpeng commented Feb 27, 2017

In fact, io_prep_read/write/pwritev/preadv do the memset(struct iocb).
So no need do it.

Signed-off-by: Jianpeng Ma jianpeng.ma@intel.com

@majianpeng

This comment has been minimized.

Show comment
Hide comment
@majianpeng

majianpeng Feb 27, 2017

Member

@tchaikov . please review.

Member

majianpeng commented Feb 27, 2017

@tchaikov . please review.

os/aio: remove the redundant memset(struct iocb)
In fact, io_prep_read/write/pwritev/preadv do the memset(struct iocb).
So no need do it.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>

@liewegas liewegas merged commit 86f2d14 into ceph:master Mar 1, 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

@majianpeng majianpeng deleted the majianpeng:aio-memset branch Mar 2, 2017

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