A possible fix for JDK-8165852: Mount point not found for a file which is present in overlayfs
Fridrich Strba
fridrich.strba at suse.com
Wed Sep 27 08:28:22 UTC 2017
Hello, good people,
I think I fixed the overlayfs and btrfs problems in LinuxFileStore. The
attached patch is what makes it work for us. Basically, when we come to
the device-id boundary, we check whether it corresponds to a mount point
in the files and if so, we return. If not, we go down the file system
looking for another boundary. If we come to the root of the file-system
without finding other mount-point and if the / is in the files, we
return the entry that corresponds to it. If not, we throw the exception.
It is not elegant, but it works. I would love to have someone to look at
it and consider whether it could be up-streamed.
Thanks in advance
Fridrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-10-openjdk-linuxfilestore.patch
Type: text/x-patch
Size: 948 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/jdk10-dev/attachments/20170927/a4101da0/java-10-openjdk-linuxfilestore.patch>
More information about the jdk10-dev
mailing list