Re: could modify sillyrename to put files in /tmp

From: Myklebust, Trond
Date: Thu Feb 02 2012 - 08:50:35 EST


On Thu, 2012-02-02 at 10:18 +0800, wangjing wrote:
> In nfs v3 ,if mulity process visit nfs mount nfs dir ,there sometimes occour .nfsXXX can't delete .
>
> If modify sillyrename to put files in /tmp ,it will be more friendly to nfs user.

No it wouldn't. Think permissions....

> the background
> 1ãLinux fs has /nfsmnt/work_pub/web and /nfsmnt/work_inwork/web ïthey use NFS V3 mount
> 2ãthere is many process will read and write files in the dir /nfsmnt/work_pub/web
> 3ãcron will del all files in dir /nfsmnt/work_pub/web in periodïand will copy all the files which in the dir /nfsmnt/work_inwork/web
>
> in some times delete all files in /nfsmnt/work_pub/web will faild ,because there is some .nfsXXXX
>
>
>
> My question is :can i modify nfs_sillyrename funncion in the fs/nfs/dir.c , general all .nfsXXX in /tmp,and make kernel ?
>
NACK.


--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_