Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/mongo/util/logfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ namespace mongo {

fassert( 16144, charsToWrite >= 0 );
fassert( 16142, _fd >= 0 );
// Linux on PowerPC 64 uses 64kB memory pages, so we need to disable this assert on this platform
#ifndef __PPC64__
fassert( 16143, reinterpret_cast<ssize_t>( buf ) % g_minOSPageSizeBytes == 0 ); // aligned
#endif

#ifdef POSIX_FADV_DONTNEED
const off_t pos = lseek(_fd, 0, SEEK_CUR); // doesn't actually seek, just get current position
Expand Down