Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at oracle.com
Tue Sep 5 22:34:38 UTC 2017


Hi Lucy,

Based on what I recall seeing in the e-mail thread since the previous version this sounds to be about right.

Thanks,

Brian

On Sep 5, 2017, at 3:27 PM, Lu, Yingqi <yingqi.lu at intel.com> wrote:

> Based on the recent feedback I receive, I am going to make following changes into the next version of the patch. Please let me know if there is anything missing or not correctly understood.
>  
> 1.     Apply Volker’s updated patch for AIX DirectIO support.
> 
> 2.     Add 2 static functions inside IOUtil.java for position check and remaining buffer size check. Change IOUtil.java and FileChannelImpl.java accordingly.
> 
> 3.     Put Solaris Filesystem check into DirectIOTest.java and use it for all the existing tests.
> 
> 4.     Add 1 additional test for both read and write to test buffer location alignment.
> 
> 5.     Add 1 test case into ReadDirect test represent the case file size is smaller than block size.
> 
> 6.     Remove 4096 from all the tests and replace it with a meaningful variable.
> 
> 7.     Change the function name inside the tests to be more meaningful.
> 
> Please let me know if there is anything missing.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170905/a36094a8/attachment.html>


More information about the nio-dev mailing list