Don't skip filesystem check on when KAIO is disabled
WSL the known Linux system where KAIO is not supported, can run these checks.
This commit is contained in:
parent
1901f49b97
commit
43f19bd463
|
@ -93,10 +93,8 @@ Net2FileSystem::Net2FileSystem(double ioTimeout, std::string fileSystemPath)
|
|||
{
|
||||
Net2AsyncFile::init();
|
||||
#ifdef __linux__
|
||||
if (FLOW_KNOBS->DISABLE_POSIX_KERNEL_AIO)
|
||||
return;
|
||||
|
||||
AsyncFileKAIO::init( Reference<IEventFD>(N2::ASIOReactor::getEventFD()), ioTimeout );
|
||||
if (!FLOW_KNOBS->DISABLE_POSIX_KERNEL_AIO)
|
||||
AsyncFileKAIO::init( Reference<IEventFD>(N2::ASIOReactor::getEventFD()), ioTimeout );
|
||||
|
||||
if (fileSystemPath.empty()) {
|
||||
checkFileSystem = false;
|
||||
|
|
Loading…
Reference in New Issue