src/storage/source/PartitionedFile.cc
bool PartitionedFile::closeDirect() {
    int i;
    int numPartitions = this->dataPartitionPaths.size();
    fclose(this->metaFile);
    for (i = 0; i < numPartitions; i++) {
        close(this->dataHandles.at(i));
    }
    return true;
}
/**
 * Close meta partition and all data partitions using direct I/O
 */
Close meta partition and all data partitions using direct I/O
Close meta partition and all data partitions using direct I / O
bool PartitionedFile::closeDirect() {
    int i;
    int numPartitions = this->dataPartitionPaths.size();
    fclose(this->metaFile);
    for (i = 0; i < numPartitions; i++) {
        close(this->dataHandles.at(i));
    }
    return true;
}
bool PartitionedFile :: closeDirect ( ) { int i ; int numPartitions = this -> dataPartitionPaths . size ( ) ; fclose ( this -> metaFile ) ; for ( i = 0 ; i < numPartitions ; i ++ ) { close ( this -> dataHandles . at ( i ) ) ; } return true ; }
Close meta partition and all data partitions using direct I/O
Close meta partition and all data partitions using direct I / O