protected static int roundDownToExactMultiple(int number, int factor) {
        return factor * (number / factor);
    }
Round a number to the greatest exact multiple of the given factor less than the given number.
E.g. roundDownToExactMultiple(67, 8) == 64
storage/src/main/java/org/apache/kafka/storage/internals/log/AbstractIndex.java