Skip to content

Commit

Permalink
[AIO] Correct test whether or not to turn off aio for Xcache.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Dec 10, 2021
1 parent e677c11 commit 55838a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdXrootd/XrdXrootdConfig.cc
Expand Up @@ -332,7 +332,7 @@ int XrdXrootdProtocol::Configure(char *parms, XrdProtocol_Config *pi)
//
if (!(asyncFlags & asDebug) && as_aioOK)
{if (fsFeatures & XrdSfs::hasNAIO) as_aioOK = 0;
else if (asyncFlags && asNoCache && fsFeatures & XrdSfs::hasCACH)
else if (asyncFlags & asNoCache && fsFeatures & XrdSfs::hasCACH)
as_aioOK = 0;
if (!as_aioOK) eDest.Say("Config asynchronous I/O has been disabled!");
}
Expand Down

0 comments on commit 55838a0

Please sign in to comment.