https://github.com/python/cpython/commit/5213f1b6840dfb6a6e7b3ea0b0d8edd62ddd7574
commit: 5213f1b6840dfb6a6e7b3ea0b0d8edd62ddd7574
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-10-15T17:38:34+02:00
summary:
gh-83714: Disable os.statx_result.stx_atomic_write_unit_max_opt (#140162)
Fix building on Centos 9 x86-64 buildbot.
files:
M Modules/posixmodule.c
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 2dd43e50e79756..e2b7146237feb6 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3366,11 +3366,13 @@ static PyMemberDef pystatx_result_members[] = {
"minimum size for direct I/O with torn-write protection"),
MM(stx_atomic_write_unit_max, Py_T_UINT, atomic_write_unit_max,
"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,
"maximum iovecs for direct I/O with torn-write protection"),
#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
MM(stx_dio_read_offset_align, Py_T_UINT, dio_read_offset_align,
"direct I/O file offset alignment for reads"),
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]