Hi,

The thing I want an understanding of is, if my file is say striped across OSTs, 
number of getattr() calls will be equivalent to the number of OSTs if I am 
opening a single file.
I observed that there is 1 open and close op in the ganglia monitoring page on 
MDT but getattr calls are 10 for the same time. I am unable to understand the 
reason for this.

Thanks and Regards,
Prakrati

From: Patrick Farrell [mailto:[email protected]]
Sent: Wednesday, January 20, 2016 9:26 AM
To: Agrawal, Prakrati PTIN-PTT/ICOE; [email protected]
Subject: RE: When is getattr() called

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]<mailto:[email protected]> 
[[email protected]]
Sent: Tuesday, January 19, 2016 9:49 PM
To: [email protected]<mailto:[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