A possible fix for JDK-8165852: Mount point not found for a file which is present in overlayfs

Alan Bateman Alan.Bateman at oracle.com
Wed Sep 27 09:48:58 UTC 2017


This is the right list for issues in specific areas, can you bring this 
to nio-dev instead?

-Alan


On 27/09/2017 09:28, Fridrich Strba wrote:
> 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
>



More information about the jdk10-dev mailing list