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
Thu Nov 9 08:38:46 UTC 2017
Ping
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.
>
> Thanks,
>
> Brian
>
> 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
>>
>> Fridrich
>>
>>
>> <java-10-openjdk-linuxfilestore.patch>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20171109/3e0b5e97/signature.asc>
More information about the nio-dev
mailing list