]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/FileJournal: Only using aio then alloc the related resources. 2304/head
authorMa Jianpeng <jianpeng.ma@intel.com>
Thu, 21 Aug 2014 13:07:51 +0000 (21:07 +0800)
committerMa Jianpeng <jianpeng.ma@intel.com>
Thu, 21 Aug 2014 13:07:51 +0000 (21:07 +0800)
commita66a4931d5be9ee26c0983b3154fdbe37261a51c
treed35f9e53694b9ab2d4bd99292fb9b38552e4e39c
parentc8e2b89cf6bc36a0ff29887b9e76cbbeceef9f8f
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>
src/os/FileJournal.cc