FTK change. Added flag to prevent misaligned I/O operations to occur when a file has been opened in directio mode. This will allow us to find and fix sub-optimal I/O operations.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@671 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-07-14 22:30:23 +00:00
parent cbc0f955f5
commit 95bb5a0a88
9 changed files with 98 additions and 22 deletions

View File

@@ -2237,9 +2237,9 @@ Desc:
RCODE FLMAPI F_SlabManager::setup(
FLMUINT uiPreallocSize)
{
RCODE rc = NE_FLM_OK;
FLMUINT uiSysSlabSize = 0;
FLMUINT uiSlabSize = 64 * 1024;
RCODE rc = NE_FLM_OK;
FLMUINT uiSysSlabSize = 0;
FLMUINT uiSlabSize = 64 * 1024;
if( RC_BAD( rc = f_mutexCreate( &m_hMutex)))
{
@@ -2846,7 +2846,7 @@ RCODE F_FixedAlloc::setup(
FLM_SLAB_USAGE * pUsageStats,
FLMUINT * puiTotalBytesAllocated)
{
RCODE rc = NE_FLM_OK;
RCODE rc = NE_FLM_OK;
f_assert( pSlabManager);
f_assert( uiCellSize);