public void transferSuccessful() {
    if (manageOsCache && count() > 0) {
      try {
        if (canEvictAfterTransfer) {
          NativeIO.POSIX.getCacheManipulator().posixFadviseIfPossible(identifier, fd, position(),
              count(), NativeIO.POSIX.POSIX_FADV_DONTNEED);
        }
      } catch (Throwable t) {
        LOG.warn("Failed to manage OS cache for " + identifier, t);
      }
    }
  }
Call when the transfer completes successfully so we can advise the OS that
we don't need the region to be cached anymore.
llap-server/src/java/org/apache/hadoop/hive/llap/shufflehandler/FadvisedFileRegion.java