Proposal for adding O_DIRECT support into JDK 9

Brian Burkhalter brian.burkhalter at oracle.com
Wed Aug 30 18:41:32 UTC 2017


Hi Lucy,

On Aug 30, 2017, at 11:37 AM, Lu, Yingqi <yingqi.lu at intel.com> wrote:

> I will check.
> I was also wondering whether there is an equivalent to mincore() or something which could enable DirectIOTest on Windows.

Thanks!

> Very good point! I only tested on UFS. If we decide not to disable the test, what is the best method to check? fstype? I am sorry that I do not have much experiences with Solaris OS.
> I wonder whether we need to disable this test on Solaris or add a check of the file system type to determine whether it is either NFS or UFS?

You might be able to check using FileStore#type() [1].

Thanks,

Brian

[1] http://download.java.net/java/jdk9/docs/api/java/nio/file/FileStore.html#type--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170830/92d60348/attachment-0001.html>


More information about the nio-dev mailing list