diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-06-20 16:21:12 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-15 02:00:16 +0300 |
commit | 95924420b038a0d025c4d16c75be2a858e7c09df (patch) | |
tree | 3aa1b904da4504f1b678bd0bc9c4445724d5ab30 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7aa7183e00d92539c61b3a01a7ebf676b0ecb91e (diff) | |
download | linux-95924420b038a0d025c4d16c75be2a858e7c09df.tar.xz |
bcachefs: support STATX_DIOALIGN for statx file
Add support for STATX_DIOALIGN to bcachefs, so that direct I/O alignment
restrictions are exposed to userspace in a generic way.
[Before]
```
./statx_test /mnt/bcachefs/test
statx(/mnt/bcachefs/test) = 0
dio mem align:0
dio offset align:0
```
[After]
```
./statx_test /mnt/bcachefs/test
statx(/mnt/bcachefs/test) = 0
dio mem align:1
dio offset align:512
```
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions