RFR: 8356127: (fs) UnixFileSystemProvider.implDelete could save a syscall in some cases [v3]

Alan Bateman alanb at openjdk.org
Fri May 9 17:03:55 UTC 2025


On Fri, 9 May 2025 16:43:32 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>>> If unlink fails (not EISDIR) then shouldn't we just throw the error?
>> 
>> Fixed in e1b8861.
>
>> It might be worth digging into how this works in NFS environments.
> 
> I will try to assess this.

I have a vague memory that NFSv4 had changes in this area to allow the REMOVE RPC handle any file type. Getting an up to date summary on that would be helpful as it may be that the change here will only work on local file systems.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25107#discussion_r2082115478


More information about the nio-dev mailing list