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:51:43 UTC 2017


Oops - please ignore this: it was a draft intended for deletion but inadvertently sent. The fix for this has already been pushed.

On Jan 5, 2017, at 2:40 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

> 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/430bc344/attachment.html>


More information about the nio-dev mailing list