Skip to content

Commit b98c1c0

Browse files
MichaelCuevasfacebook-github-bot
authored andcommitted
log inode loading failures on Linux/Windows
Summary: # This diff Removes some conditional compilation so that we can log inode loading failure events on all platforms Reviewed By: kavehahmadi60 Differential Revision: D71419250 fbshipit-source-id: f359546241af00bb68f94dc1fb95f00481d3806f
1 parent 12d5af8 commit b98c1c0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

eden/fs/inodes/InodeMap.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,12 +540,10 @@ void InodeMap::inodeLoadFailed(
540540
mount_->publishInodeTraceEvent(std::move(optionalFailEvent.value()));
541541
}
542542

543-
#ifdef __APPLE__
544543
// Temporarily log every inode load failure and associated error string.
545544
// This data will help us understand the impact of X2P errors on EdenFS.
546545
structuredLogger_->logEvent(
547546
InodeLoadingFailed{errStr.toStdString(), number.getRawValue()});
548-
#endif // __APPLE__
549547
stats_->increment(&InodeMapStats::lookupInodeError, promises.size());
550548
}
551549

0 commit comments

Comments
 (0)