Patches item #1545275, was opened at 2006-08-23 15:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1545275&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Modules Group: None Status: Open Resolution: None Priority: 5 Submitted By: Omar AitMous (oaitmous) Assigned to: Nobody/Anonymous (nobody) Summary: new directio module Initial Comment: This module is an interface to the open(),read(),write() and close() system calls on a Direct I/O context (O_DIRECT flag to the open() system call). The O_DIRECT flag allows to open a file in "direct" mode -- effectively bypassing the buffer-cache. This behaviour is generally not a good thing since it will strongly degrade performances, but it can be desirable for some purposes (benchmark, or optimized read of many concurrent video streams, for instance). A special interface is needed, since the read() system calls requires aligned buffers when used on O_DIRECT file descriptors. And since the flag O_DIRECT is not available with the os module, we decided to write this module. We would like to know if this is worth for inclusion in the standard Python distribution? What should be modified to make it more "compliant" to the python rules? This file will probably need to be updated to conform to python style standards. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1545275&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches