could modify sillyrename to put files in /tmp

From: wangjing
Date: Wed Feb 01 2012 - 21:24:54 EST


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.


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 ?




2012-02-02
wangjing
㈤旃??????+-遍荻?w??笔???dz罐??骅w*jg??????/??罐????璀??摺?囤??????:+v???佶>W?贽i?xPj??? -?+?d?