JDK 9 RFR of 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628
Alan Bateman
Alan.Bateman at oracle.com
Tue Jan 3 08:51:54 UTC 2017
On 20/12/2016 20:16, Brian Burkhalter 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.
>
Falling back when the error is ENOSYS or EOPNOTSUPP seems right, I don't
see a reasonable to fallback for other errors. As to whether it's worth
handling ENOSYS then I'm not sure, it would likely be very old kernels
as Martin noted in his reply.
-Alan
More information about the nio-dev
mailing list