thecoop commented on code in PR #14593:
URL: https://github.com/apache/lucene/pull/14593#discussion_r2068324330


##########
lucene/core/src/java/org/apache/lucene/store/PosixNativeAccess.java:
##########
@@ -157,7 +157,6 @@ private int mapReadAdvice(ReadAdvice readAdvice) {
       case NORMAL -> POSIX_MADV_NORMAL;
       case RANDOM -> POSIX_MADV_RANDOM;
       case SEQUENTIAL -> POSIX_MADV_SEQUENTIAL;
-      case RANDOM_PRELOAD -> POSIX_MADV_NORMAL;

Review Comment:
   It just results in the same madvice as NORMAL



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to