bugGluster - Bugs: bug #17281, statistics call in xlator fops

 
 

bug #17281: statistics call in xlator fops

Submitter:  Anand Avati <avati>
Submitted:  Thu 03 Aug 2006 02:53:38 PM UTC
   
 
Category:  GlusterFS Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missing Feature
Status:  Fixed Privacy:  Public
Assigned to:  vikasgp Originator Name:  *
Open/Closed:  Closed Release: 
Operating System:  GNU/Linux Reproducibility:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Aug 2006 08:51:32 PM UTC, comment #2: 

framework is done, code to calculate free memory and disk space needs to be added

Vikas Gorur <vikasgp>
Group Member
Fri 04 Aug 2006 04:12:26 PM UTC, comment #1: 

1. add new OP in glustersf_op_t
2. use the OP for transaction with glusterfsd (add handler for that OP in glusterfsd)
3. populate structure with members like #of files
4. the 'source' of most of statistics is posix, generate statistics like disk speed in the init() of posix and keep statistics local to posix.

some initial statistics members -

# of open files
free ram
free disk space
disk speed (one time calculation)
# of client nodes (to be filled by glusterfsd) if glusterfsd is not in path it would be 0

Anand Avati <avati>
Group Member
Thu 03 Aug 2006 02:53:38 PM UTC, original submission:  

Each xlator should expose a statistics call which will provide statistics like # of open files via that xlator, # of clients connecting via it etc.. translator should appropriately pick the child statistics, mangle it and expose it to its caller.

Anand Avati <avati>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-05 vikasgp Open/ClosedOpen Closed
2006-08-04 vikasgp StatusIn Progress Fixed
2006-08-03 vikasgp StatusNone In Progress
2006-08-03 avati Assigned toNone vikasgp

Back to the top

Powered by Savane 3.14-d582.
Corresponding source code