This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aguiar
Recipients aguiar, pitrou
Date 2009-03-15.15:52:05
SpamBayes Score 5.040091e-05
Marked as misclassified No
Message-id <1237132328.52.0.00731426523965.issue5396@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I think I have a few more issues you can consider:

1) to allocated an aligned buffer it is as simple as allocate 4096 + len
(buffer) and truncate address to 4k boundary.

2) I wrote a floppy imager, and without O_DIRECT, it gives me 8 sectors
(4k = kernel page) errors whenever one sector is bad.

3) There is os.O_DIRECT and os.open help page references it

Best regards,
Eduardo Aguiar
History
Date User Action Args
2009-03-15 15:52:08aguiarsetrecipients: + aguiar, pitrou
2009-03-15 15:52:08aguiarsetmessageid: <1237132328.52.0.00731426523965.issue5396@psf.upfronthosting.co.za>
2009-03-15 15:52:06aguiarlinkissue5396 messages
2009-03-15 15:52:05aguiarcreate