Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171452

(ch) linux io_util_md: Operation not supported exception after 8168628

    XMLWordPrintable

Details

    • b152
    • linux

    Backports

      Description

        After JDK-8168628, rmid stopped with "java.io.IOException: Operation not supported" in sun.rmi.log.ReliableLog.

        The exception was due to the newly added call to fallocate.

        The linux man pages say [1]:

        EOPNOTSUPP
        The filesystem containing the file referred to by fd does not
        support this operation; or the mode is not supported by the
        filesystem containing the file referred to by fd.

        Seems like the problem only occurs with certain file systems (e.g. NFS mounts).
        I guess they still need to be supported and a fallback path is needed.

        [1] http://man7.org/linux/man-pages/man2/fallocate.2.html

        Attachments

          Issue Links

            Activity

              People

                bpb Brian Burkhalter
                mdoerr Martin Doerr
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: