private long roundUp(long n, long to) {
    return ((n + to - 1) / to) * to;
  }
IO engine that stores data to a file on the specified file system using memory mapping mechanism
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/FileMmapIOEngine.java