JDK 9 RFR of 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628
Doerr, Martin
martin.doerr at sap.com
Tue Dec 20 20:01:09 UTC 2016
Hi Brian,
thank you very much for fixing this so quickly. I have tested the change and it does resolve the issue.
I'm happy with this version, but I can't tell if there are more cases where the fall back is desired. I guess old kernels which don't implement fallocate (ENOSYS) are no longer supported.
Thanks and best regards,
Martin
-----Original Message-----
From: nio-dev [mailto:nio-dev-bounces at openjdk.java.net] On Behalf Of Brian Burkhalter
Sent: Dienstag, 20. Dezember 2016 19:13
To: nio-dev at openjdk.java.net nio-dev <nio-dev at openjdk.java.net>
Subject: JDK 9 RFR of 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628
Please review at your convenience:
Issue: https://bugs.openjdk.java.net/browse/JDK-8171452
Patch: http://cr.openjdk.java.net/~bpb/8171452/webrev.00/
Change on Linux to fall back to ftruncate64() if fallocate64() returns EOPNOTSUPP. I am wondering however whether the fall back should occur for *all* cases where ftruncate64() returns non-zero?
Thanks,
Brian
More information about the nio-dev
mailing list