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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to