Recent Java 9 commit (e5b66323ae45) breaks fsync on directory

Robert Muir rcmuir at gmail.com
Tue May 19 01:34:36 UTC 2015


On Mon, May 18, 2015 at 3:04 PM, Brian Burkhalter
<brian.burkhalter at oracle.com> wrote:
> We have revised our approach to this (pair or trio of) problem(s). The
> following sequence of actions is proposed.
>
> 1. Revert the patch which fixed
> https://bugs.openjdk.java.net/browse/JDK-8066915, (fs) Files.newByteChannel
> opens directories for cases where subsequent reads may fail, which
> instigated the present situation. I will file and post the link to a new
> Issue for this.
>
> 2. Work on a fix for https://bugs.openjdk.java.net/browse/JDK-8080589, (fc)
> FileChannel.force should use fcntl(F_FULLFSYNC) instead of fsync on OS X.
>
> 3. Work on a zero to minimal impact fix for
> https://bugs.openjdk.java.net/browse/JDK-8080235, (fs) Provide ability to
> flush all modified buffered data to a permanent storage device.
>
> Hopefully the foregoing plan of record shall be to everyone’s satisfaction
> and will converge to an eventual mutually acceptable, logical solution.
>

Thank you very much for your consideration here!


More information about the nio-dev mailing list