]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix has_aios -> has_pending_aios 11317/head
authorSage Weil <sage@redhat.com>
Tue, 4 Oct 2016 19:28:31 +0000 (15:28 -0400)
committerSage Weil <sage@redhat.com>
Tue, 4 Oct 2016 19:28:49 +0000 (15:28 -0400)
commitf688302df713480e583a0e97f9601246279e3be9
tree2e591b6e590d6670cb0ff49fb1f062718826e774
parent3ed80d975f41d25f26406dde269aefa76ba9d2fa
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>
src/os/bluestore/BlockDevice.h
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueStore.cc