Proposal for adding O_DIRECT support into JDK 9

Lu, Yingqi yingqi.lu at intel.com
Mon Sep 11 20:13:33 UTC 2017


Hi Brian,

Thank you for the feedback. I will incorporate it into the next version of the webrev.

Right now, we still have one open issue which was from Alan's previous email regarding to the 2-times check on alignment. Once we resolve that, I will submit webrev version 10 for review.

Thanks,
Lucy

From: Brian Burkhalter [mailto:brian.burkhalter at oracle.com]
Sent: Monday, September 11, 2017 12:26 PM
To: Lu, Yingqi <yingqi.lu at intel.com>
Cc: Alan Bateman <Alan.Bateman at oracle.com>; nio-dev at openjdk.java.net
Subject: Re: Proposal for adding O_DIRECT support into JDK 9

Hi Lucy,

Here is a slightly reworded version of your draft.

Thanks,

Brian

    /**
     * File storage is typically organized into discrete sequences of bytes called
     * <i>blocks</i>. A block is the smallest storage unit of a file store. Each read
     * and write operation is performed on a multiple of blocks.
     *
     * @implSpec The implementation in this class throws an
     *         {@code UnsupportedOperationException}.
     *
     * @return  the block size of this file store, in bytes
     *
     * @throws  IOException
     *          if an I/O error occurs
     *
     * @throws  UnsupportedOperationException
     *          if the operation is not supported
     *
     * @since 10
     */

On Sep 11, 2017, at 11:16 AM, Lu, Yingqi <yingqi.lu at intel.com<mailto:yingqi.lu at intel.com>> wrote:


Here is a draft of the description. Please let me know if this is sufficient.

    /**
     * FileStore typically organizes storage into number of blocks. A block is
     * the smallest storage unit of the file store. Every read and write
     * operations are done on a multiple of blocks.
     *
     * @implSpec The implementation in this class throws an
     *         {@code UnsupportedOperationException}.
     *
     * @return  the block size of this file store, in bytes
     *
     * @throws  IOException
     *          if an I/O error occurs
     *
     * @throws  UnsupportedOperationException
     *          if operation is not supported
     *
     * @since 10
     */

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


More information about the nio-dev mailing list