]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/FileJournal: Only using aio then alloc the related resources.
authorMa Jianpeng <jianpeng.ma@intel.com>
Thu, 21 Aug 2014 13:07:51 +0000 (21:07 +0800)
committerSage Weil <sage@redhat.com>
Tue, 21 Oct 2014 13:55:16 +0000 (06:55 -0700)
commitdbc33fbab4b35e2ce1e46a881f6714262502c243
tree400fbbe941befec0e177c887242eb32cb74de695
parent3312c6eeca21dcd566df9bdd8de7b3fe33356b57
os/FileJournal: Only using aio then alloc the related resources.

If define HAVE_LIBAIO, it alloc related resouces. But itt don't check whether
using aio mode. Only using aio it alloc the related resources.

Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
(cherry picked from commit a66a4931d5be9ee26c0983b3154fdbe37261a51c)
src/os/FileJournal.cc