JDK 9 RFR of 8171452: (ch) linux io_util_md: Operation not supported exception after 8168628
martin.doerr at sap.com
Tue Dec 20 20:01:09 UTC 2016
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,
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:
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?
More information about the nio-dev