summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-08-25 13:15:00 +0200
committerCarlos Maiolino <cem@kernel.org>2025-08-28 14:20:03 +0200
commit851c4c96db001f51bdad1432aa54549c7fe2c63e (patch)
treed8541886a2ebfbd3dac827019da96594ea17fee4 /scripts/gdb/linux/xarray.py
parent0239bd9fa445a21def88f7e76fe6e0414b2a4da0 (diff)
xfs: implement XFS_IOC_DIOINFO in terms of vfs_getattr
Use the direct I/O alignment reporting from ->getattr instead of reimplementing it. This exposes the relaxation of the memory alignment in the XFS_IOC_DIOINFO info and ensure the information will stay in sync. Note that randholes.c in xfstests has a bug where it incorrectly fails when the required memory alignment is smaller than the pointer size. Round up the reported value as there is a fair chance that this code got copied into various applications. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions