linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "wangjing" <wangjing@300.cn>
To: "linux-nfs" <linux-nfs@vger.kernel.org>,
	"linux-kernel" <linux-kernel@vger.kernel.org>
Cc: "wjk302" <wjk302@gmail.com>
Subject: could modify sillyrename to put files in /tmp
Date: Thu, 2 Feb 2012 10:18:24 +0800	[thread overview]
Message-ID: <201202021018234324363@300.cn> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 933 bytes --]

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
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

             reply	other threads:[~2012-02-02  2:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-02  2:18 wangjing [this message]
2012-02-02 13:50 ` could modify sillyrename to put files in /tmp Myklebust, Trond
2012-02-03  0:07 ` Mantas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201202021018234324363@300.cn \
    --to=wangjing@300.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=wjk302@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).