You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To properly use O_DIRECT, applications need to know file system requirements for I/O and buffer alignments. As was mentioned in #16953 (comment), STATX_DIOALIGN extension to statx() (https://man7.org/linux/man-pages/man2/statx.2.html) seems to be the way to do it on Linux since kernel 6.1. Unfortunately it seems zpl_getattr_impl() code around here
To properly use O_DIRECT, applications need to know file system requirements for I/O and buffer alignments. As was mentioned in #16953 (comment),
STATX_DIOALIGN
extension tostatx()
(https://man7.org/linux/man-pages/man2/statx.2.html) seems to be the way to do it on Linux since kernel 6.1. Unfortunately it seems zpl_getattr_impl() code around herezfs/module/os/linux/zfs/zpl_inode.c
Line 486 in 919bc4d
The text was updated successfully, but these errors were encountered: