public static DirectIOLib getLibForPath(String workingDir) {
        int fsBlockSize = initializeSoftBlockSize(workingDir);
        if (fsBlockSize == -1) {
            LOGGER.warn("O_DIRECT support non available on your version of Linux (" + System.getProperty("os.version") + "), " +
                "please upgrade your kernel in order to use jaydio.");
            return null;
        }
        return new DirectIOLib(fsBlockSize);
    }
Static method to register JNA hooks for doing direct I/O

@param workingDir A directory within the mounted file system on which we'll be working
                  Should preferably BE the directory in which we'll be working.
s3stream/src/main/java/com/automq/stream/thirdparty/moe/cnkirito/kdio/DirectIOLib.java