[Lustre-devel] LNET:where in the code dose the file obeject's private data gets filled up.
andreas.dilger at oracle.com
Tue May 25 13:04:41 PDT 2010
On 2010-05-25, at 12:07, ankit sharma wrote:
> I am new to Lustre code. So i am sorry if my question is trivial or silly.
> My question:
> On line number 116 of the file lnet/lnet/router_proc.c
> variable ver_p is getting set from the proc file object's private data.
> Can any one tell me which part of the lustre code dose this file object private data gets initialized / set .
> conceptually in can imagine it should (correct me if I am worng) be set in open call of the file ( /proc/sys/lnet/routers )
> BUT I cant locate the Lustre code that dose that(sets the private data of file object).
If this is related to porting Lustre to a newer kernel, please search bugzilla for the RHEL6 and/or SLES11 SP1 kernel patches, since it fixes up this bit of code already.
Lustre Technical Lead
Oracle Corporation Canada Inc.
More information about the lustre-devel