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)
SW4gbmZzIHYzICxpZiBtdWxpdHkgcHJvY2VzcyB2aXNpdCBuZnMgbW91bnQgbmZzIGRpciAsdGhl
cmUgc29tZXRpbWVzIG9jY291ciAubmZzWFhYIGNhbid0IGRlbGV0ZSAuDQoNCklmIG1vZGlmeSBz
aWxseXJlbmFtZSB0byBwdXQgZmlsZXMgaW4gL3RtcCAsaXQgd2lsbCBiZSBtb3JlIGZyaWVuZGx5
IHRvIG5mcyB1c2VyLg0KDQoNCnRoZSBiYWNrZ3JvdW5kDQogICAxoaJMaW51eCBmcyBoYXMgICAv
bmZzbW50L3dvcmtfcHViL3dlYiBhbmQgL25mc21udC93b3JrX2lud29yay93ZWIgo6x0aGV5IHVz
ZSBORlMgVjMgbW91bnQNCiAgIDKhonRoZXJlIGlzIG1hbnkgcHJvY2VzcyB3aWxsIHJlYWQgYW5k
IHdyaXRlIGZpbGVzIGluIHRoZSBkaXIgL25mc21udC93b3JrX3B1Yi93ZWIgDQogICAzoaJjcm9u
IHdpbGwgZGVsICBhbGwgZmlsZXMgaW4gZGlyICAvbmZzbW50L3dvcmtfcHViL3dlYiBpbiBwZXJp
b2SjrGFuZCB3aWxsIGNvcHkgYWxsIHRoZSBmaWxlcyB3aGljaCBpbiB0aGUgZGlyIC9uZnNtbnQv
d29ya19pbndvcmsvd2ViIA0KDQppbiBzb21lIHRpbWVzIGRlbGV0ZSBhbGwgZmlsZXMgaW4gIC9u
ZnNtbnQvd29ya19wdWIvd2ViIHdpbGwgZmFpbGQgLGJlY2F1c2UgdGhlcmUgaXMgc29tZSAubmZz
WFhYWA0KDQoNCg0KTXkgcXVlc3Rpb24gaXMgOmNhbiBpIG1vZGlmeSBuZnNfc2lsbHlyZW5hbWUg
ZnVubmNpb24gIGluIHRoZSBmcy9uZnMvZGlyLmMgLCBnZW5lcmFsIGFsbCAubmZzWFhYIGluIC90
bXAsYW5kIG1ha2Uga2VybmVsID8NCg0KDQoNCg0KMjAxMi0wMi0wMiANCndhbmdqaW5nDQo=
WARNING: multiple messages have this Message-ID (diff)
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¥
next reply other threads:[~2012-02-02 2:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 2:18 wangjing [this message]
2012-02-02 2:18 ` could modify sillyrename to put files in /tmp wangjing
2012-02-02 13:50 ` Myklebust, Trond
2012-02-02 13:50 ` Myklebust, Trond
2012-02-03 0:07 ` Mantas
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.