2002-03-24 21:57:01

by Philippe Troin

[permalink] [raw]
Subject: silly-deleting symlinks?

I've just noticed that nfsd tries to silly-delete symlinks.

Server: vanilla 2.2.20 SMP
Client: vanilla 2.4.18 SMP
Mount options: rw,nodev,v2,rsize=8192,wsize=8192,hard,intr,udp,lock

Sometimes I see some .nfs<XXXX> files which are symlinks. How can
symlinks be "in use" and be subject to silly-deletion?

Phil.

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2002-04-01 19:18:23

by Trond Myklebust

[permalink] [raw]
Subject: Re: silly-deleting symlinks?

>>>>> " " == Philippe Troin <[email protected]> writes:

> I've just noticed that nfsd tries to silly-delete symlinks.
> Server: vanilla 2.2.20 SMP Client: vanilla 2.4.18 SMP Mount
> options: rw,nodev,v2,rsize=8192,wsize=8192,hard,intr,udp,lock

> Sometimes I see some .nfs<XXXX> files which are symlinks. How
> can symlinks be "in use" and be subject to silly-deletion?

Sillydelete just looks at the number of counts on the dentry. If the
count is > 1 then the dentry is deemed to be 'in use' no matter what
the type of inode.

Cheers,
Trond

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs