GitHub user sumokiama created a discussion: SSD cache + O_DIRECT problem
Given the Velox configuration: enable-ssd-cache=true memory-use-mmap=true cache.ssd-enable-odirect=true Velox is sending misaligned data to the SSD cache and the device throws errors: E1107 19:53:48.763626 87470 SsdFile.cpp:446] [SSDCA] Failed to write to SSD, file name: /mnt2/ssd/velox20, size: 3, offset: 2548736256, error code: 22, error string: Invalid argument Assuming there is no way that O_DIRECT can be made compatible with misaligned data, is there a way in Gluten via configuration to ensure alignment (in this case the drive has a 4KB blocksize)? GitHub link: https://github.com/apache/incubator-gluten/discussions/11054 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
