Re: [PATCH] erofs: support STATX_DIOALIGN

2024-07-17 Thread Gao Xiang
On 2024/7/18 11:35, Hongbo Li wrote: On 2024/7/18 10:41, Gao Xiang wrote: On 2024/7/17 14:34, Hongbo Li wrote: On 2024/7/17 10:00, Gao Xiang wrote: Hi, On 2024/7/16 20:45, Hongbo Li wrote: Add support for STATX_DIOALIGN to erofs, so that direct I/O alignment restrictions are exposed

Re: [PATCH] erofs: support STATX_DIOALIGN

2024-07-17 Thread Hongbo Li via Linux-erofs
On 2024/7/18 10:41, Gao Xiang wrote: On 2024/7/17 14:34, Hongbo Li wrote: On 2024/7/17 10:00, Gao Xiang wrote: Hi, On 2024/7/16 20:45, Hongbo Li wrote: Add support for STATX_DIOALIGN to erofs, so that direct I/O alignment restrictions are exposed to userspace in a generic way. [Before

Re: [PATCH] erofs: support STATX_DIOALIGN

2024-07-17 Thread Gao Xiang
On 2024/7/17 14:34, Hongbo Li wrote: On 2024/7/17 10:00, Gao Xiang wrote: Hi, On 2024/7/16 20:45, Hongbo Li wrote: 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 s

Re: [PATCH] erofs: support STATX_DIOALIGN

2024-07-16 Thread Hongbo Li via Linux-erofs
On 2024/7/17 10:00, Gao Xiang wrote: Hi, On 2024/7/16 20:45, Hongbo Li wrote: 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 al

Re: [PATCH] erofs: support STATX_DIOALIGN

2024-07-16 Thread Gao Xiang
Hi, On 2024/7/16 20:45, Hongbo Li wrote: 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] ```