in reply to sysread/syswrite and O_DIRECT alignment problem
There's also a possibility to write a module that somehow manages to create SVs that refer internally to aligned memory, but that approach raises (for me) more questions than answers (should they be R/O or R/W? and if R/W, how perl should be told to re-allocate the memory correctly?). Apologies if I've muddied the waters more than necessary, but possibly some of these ideas can help you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sysread/syswrite and O_DIRECT alignment problem
by fishnuts (Acolyte) on Nov 27, 2007 at 11:09 UTC |