Added option in FLAIM to disable direct I/O on Linux and Unix platforms. Re-architected the FTK I/O layer and cleaned up the async interfaces.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@643 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
#include "flaimsys.h"
|
||||
|
||||
FSTATIC RCODE flmBackgroundIndexBuildThrd(
|
||||
FSTATIC RCODE FLMAPI flmBackgroundIndexBuildThrd(
|
||||
IF_Thread * pThread);
|
||||
|
||||
/****************************************************************************
|
||||
@@ -891,7 +891,6 @@ RCODE F_Db::backgroundIndexBuild(
|
||||
|
||||
m_uiFlags |= FDB_BACKGROUND_INDEXING;
|
||||
uiIndexNum = pBackgroundIx->indexStatus.uiIndexNum;
|
||||
m_pSFileHdl->enableFlushMinimize();
|
||||
|
||||
for (;;)
|
||||
{
|
||||
@@ -984,8 +983,6 @@ RCODE F_Db::backgroundIndexBuild(
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
pThread->setThreadStatus( FLM_THREAD_STATUS_COMMITTING_TRANS);
|
||||
|
||||
// Commit the transaction (even if we didn't do any indexing work).
|
||||
|
||||
bStartedTrans = FALSE;
|
||||
@@ -1018,7 +1015,7 @@ Desc: Thread that will build an index in the background.
|
||||
Caller will create a pDb to use. This pDb must be
|
||||
freed at the conclusion of the routine.
|
||||
****************************************************************************/
|
||||
FSTATIC RCODE flmBackgroundIndexBuildThrd(
|
||||
FSTATIC RCODE FLMAPI flmBackgroundIndexBuildThrd(
|
||||
IF_Thread * pThread)
|
||||
{
|
||||
RCODE rc = NE_XFLM_OK;
|
||||
|
||||
Reference in New Issue
Block a user