Getattr is returning file attributes, so it's going to be called as part of any 
browsing (ls, depending on options) or scanning (find, du, or perhaps 
RobinHood) of the file system.  Also, many libraries will do getattr calls 
before doing an open, as part of sanity checking a file.

- Patrick
________________________________
From: lustre-discuss [[email protected]] on behalf of 
[email protected] [[email protected]]
Sent: Tuesday, January 19, 2016 9:49 PM
To: [email protected]
Subject: [lustre-discuss] When is getattr() called

Hi,

I was looking at the MDT parameters on Ganglia and there is a graph which shows 
getattr calls and that is very high as compared to open and close calls. Under 
what scenarios, is getattr called.

Thanks and Regards,
Prakrati
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to