mirror of
https://github.com/python/cpython.git
synced 2025-10-19 07:53:46 +00:00
gh-83714: Disable os.statx_result.stx_atomic_write_unit_max_opt (#140162)
Fix building on Centos 9 x86-64 buildbot.
This commit is contained in:
parent
1624c646b0
commit
5213f1b684
1 changed files with 4 additions and 2 deletions
|
@ -3366,11 +3366,13 @@ static PyMemberDef pystatx_result_members[] = {
|
||||||
"minimum size for direct I/O with torn-write protection"),
|
"minimum size for direct I/O with torn-write protection"),
|
||||||
MM(stx_atomic_write_unit_max, Py_T_UINT, atomic_write_unit_max,
|
MM(stx_atomic_write_unit_max, Py_T_UINT, atomic_write_unit_max,
|
||||||
"maximum size for direct I/O with torn-write protection"),
|
"maximum size for direct I/O with torn-write protection"),
|
||||||
MM(stx_atomic_write_unit_max_opt, Py_T_UINT, atomic_write_unit_max_opt,
|
|
||||||
"maximum optimized size for direct I/O with torn-write protection"),
|
|
||||||
MM(stx_atomic_write_segments_max, Py_T_UINT, atomic_write_segments_max,
|
MM(stx_atomic_write_segments_max, Py_T_UINT, atomic_write_segments_max,
|
||||||
"maximum iovecs for direct I/O with torn-write protection"),
|
"maximum iovecs for direct I/O with torn-write protection"),
|
||||||
#endif
|
#endif
|
||||||
|
#if 0
|
||||||
|
MM(stx_atomic_write_unit_max_opt, Py_T_UINT, atomic_write_unit_max_opt,
|
||||||
|
"maximum optimized size for direct I/O with torn-write protection"),
|
||||||
|
#endif
|
||||||
#ifdef STATX_DIO_READ_ALIGN
|
#ifdef STATX_DIO_READ_ALIGN
|
||||||
MM(stx_dio_read_offset_align, Py_T_UINT, dio_read_offset_align,
|
MM(stx_dio_read_offset_align, Py_T_UINT, dio_read_offset_align,
|
||||||
"direct I/O file offset alignment for reads"),
|
"direct I/O file offset alignment for reads"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue