os/bluestore: fix has_aios #11317

Merged
merged 2 commits into from Oct 6, 2016

Projects

None yet

2 participants

@liewegas
Member
liewegas commented Oct 4, 2016

No description provided.

liewegas added some commits Oct 4, 2016
@liewegas liewegas os/bluestore/KernelDevice: fix aio_submit race
Behave if pending is empty.

Signed-off-by: Sage Weil <sage@redhat.com>
3ed80d9
@liewegas liewegas os/bluestore: fix has_aios -> has_pending_aios
This is only called from safe callers (with exclusive access),
so we don't need a lock.

It also should only return true for *pending* aios--not aios
we've already submitted!

Signed-off-by: Sage Weil <sage@redhat.com>
f688302
@ifed01 ifed01 merged commit b34841d into ceph:master Oct 6, 2016

2 checks passed

Signed-off-by all commits in this PR are signed
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment