A possible fix for JDK-8165852: Mount point not found for a file which is present in overlayfs
brian.burkhalter at oracle.com
Wed Jan 10 20:32:44 UTC 2018
At long last this patch has been posted for review in slightly modified form:
On Nov 9, 2017, at 12:38 AM, Fridrich Strba <fridrich.strba at suse.com> wrote:
> On 27/09/17 16:50, Brian Burkhalter wrote:
>> Hello, Fridrich,
>> Excellent! This would be good if it works albeit inelegantly: function over form. I’ll add it to my list to review. To test it I will need to dust off my Linux VM which has all this stuff (Docker, btrfs, etc.) installed.
>> On Sep 27, 2017, at 5:31 AM, Fridrich Strba <fridrich.strba at suse.com> 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
More information about the nio-dev