Proposal for adding O_DIRECT support into JDK 9
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Sep 14 20:17:09 UTC 2017
Hi Lucy,
It would be awkward to add another parameter to the IOUtil methods just to be able to move this check down a level. I do not see anything wrong with leaving it as is.
Thanks,
Brian
On Sep 14, 2017, at 10:20 AM, Lu, Yingqi <yingqi.lu at intel.com> wrote:
> After taking another look at the code, I could not find an easy way to check the channel/file position inside IOUtil class for non-positional read/write (position is not provided as a parameter to FileChannel.read/write).
>
> Do you think it is proper to just leave the channel position check inside FileChannelImpl like it is now?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170914/a0748701/attachment.html>
More information about the nio-dev
mailing list