diff options
author | Hongbo Li <[email protected]> | 2024-07-18 16:32:43 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2024-07-26 18:47:22 +0800 |
commit | 9c421ef3f6b30ab912eaaa3c3d20cfb921fd8c8f (patch) | |
tree | 1c66f4dabb015eff22bf112f132085340b7c9abe /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a3c10bed330b7ab401254a0c91098a03b04f1448 (diff) |
erofs: support STATX_DIOALIGN
Add support for STATX_DIOALIGN to EROFS, so that direct I/O
alignment restrictions are exposed to userspace in a generic
way.
[Before]
```
./statx_test /mnt/erofs/testfile
statx(/mnt/erofs/testfile) = 0
dio mem align:0
dio offset align:0
```
[After]
```
./statx_test /mnt/erofs/testfile
statx(/mnt/erofs/testfile) = 0
dio mem align:512
dio offset align:512
```
Signed-off-by: Hongbo Li <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions