Project

General

Profile

Actions

Bug #7658

open

nfs4: server returns ESTALE if unlink opened filehandle

Added by Vitaliy Gusev over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2016-12-09
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

NFS4 server should support delete-on-last-close functionality as NFS version 4 protocol is stateful.

if clients does:

OPEN file.vmx
RENAME file.vmx~ file.vmx
CLOSE file.vmx

The call with CLOSE operation fails with NFS4ERR_STALE. More precisely it fails on PUTFH operation.

It could be that underlying filesystem should take care about this.


Files

nfs40-close-estale.pcap (122 KB) nfs40-close-estale.pcap traffic between sever and clients Vitaliy Gusev, 2016-12-09 02:04 PM
Actions

Also available in: Atom PDF