]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: release aios and pinned buffers on io complete 15398/head
authorSage Weil <sage@redhat.com>
Wed, 31 May 2017 22:44:02 +0000 (18:44 -0400)
committerSage Weil <sage@redhat.com>
Thu, 1 Jun 2017 16:28:44 +0000 (12:28 -0400)
commit4e160f20e44c4eca515f4b9e622a6ba26d0e5fd1
treec032bc11ef9977207c2b7f0bc3ca20e886940c57
parentd82af301c8627abe2077eabb3e9daed5e6740f25
os/bluestore: release aios and pinned buffers on io complete

Once we're done with our IO, clear the aio list so that the pinned buffers
are unpinned.  This ensures we release memory quickly, even if the
TransContext sticks around for a while (e.g., in the osr q).

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc