JDK 9 RFR of 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jan 5 22:40:28 UTC 2017


Here’s an alternative version of the patch which always falls back to ftruncate64() when fallocate64() returns non-zero:

http://cr.openjdk.java.net/~bpb/8171452/webrev.01/

Thanks,

Brian

On Dec 20, 2016, at 12:16 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> As noted below, I wonder whether the code should not just fall back for all unsuccessful fallocate64() calls. The fallback is to the same behavior which was there prior to the fix for JDK-8168628 so this seems safe. We’ll see whether a JDK 9 Reviewer has any comment on this point.

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


More information about the nio-dev mailing list