All root cause found (2 root causes, 1 from up stream, 1 from Red Hat)
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello [email protected]:
1) Firstly, sorry for bothering you:
A) I met an issue from Red Hat, it was about nfs-client of
kernel-2.6.18-308.16.1.el5.
B) The relative member of Red Hat suggested me to send mail to
[email protected], so I do it.
C) Please see the bottom of this mail to get details of suggestions.
2) Please help to confirm:
A) Asianux found, analysed, and provided solving ways for this issue.
B) Please help to check what Asianux have done (whether correct).
C) Details are in bottom of mail (or see Red Hat Bugzilla Bug858978)
3) Asianux Goal:
A) Asianux want to give their contributes to the Open Source, just as
Asianux have already get benefits from the Open Source.
B) Asianux will do what they can do for it, currently, Asianux are
focus on Linux kernel (including NFS, but not only NFS; including Red Hat release, but not only Red Hat release)
C) Welcome another members or organizations to giving suggestions and
completions.
thanks.
--
Chen Gang
Asianux Corporation
Quoted 72 lines · Ric Wheeler
Hi Chen,
Please send all of your email *only* to the upstream NFS lists ( [email protected] ). Unless you pay us or become an official partner of Red Hat, I cannot ask my developer team to work with you on a clone of our product.
Best regards,
Ric Wheeler
We are more than happy to work with you upstream
Quoted 55 lines · Chen Gang
Please confirm what I said below whether correct or not, thanks.
At least, it is truly an issue of Red Hat own. So it is suitable to get the confirmation from Red Hat
1) if you can not confirm whether it is correct or not;
2) I will send these confirmation to [email protected];
3) I believe they can confirm the issue of Red Hat own.thanks.
Quoted 40 lines · Chen Gang
Hello Ric Wheeler, Jeff Layton:
For this Bug, has 2 root causes totally.
one from upstream, I am just communicating with relative members in upstream kernel mailing list.
the other is from Red Hat their own (upstream not have), please check it by Jeff Layton, thanks.
the root cause which Red Hat their own is:
-----------------------------------------------------------------------
thenfs_update_inodeinfs/nfs/inode.chas no enough information to judge whether should changenfsi->attr_gencount(NFS_INO_INVALID_ATTRshould be set for invalid).so when truncate operation occurs, it will set the file size outside of
nfs_update_inode, and then when it callnfs_update_inode, theNFS_INO_INVALID_ATTRnot set,nfsi->attr_gencountis still old.and then async
read_donecomes, it'sfattr->gencountis later than thenfsi->attr_gencount, sonfs_update_inodewill be called (which should not be called in this situation).For upstream kernel, no this issue (it has enough information in
fs/nfs/inode.cto judge whether should changenfsi->attr_gencount).
-----------------------------------------------------------------------please see the Bugzilla to check the more details (including dump log for the analysing data support. also how to fix it, and let it pass the fsx-linux test finally).
welcome any additional suggestions or completions.
thanks.
Signature · 3 lines
Chen Gang Asianux Corporation