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

 
 

bug #17281: statistics call in xlator fops

Submitted by:  Anand Avati <avati>
Submitted on:  Thu 03 Aug 2006 02:53:38 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Missing Feature
Status: FixedPrivacy: Public
Assigned to: Vikas Gorur <vikasgp>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 05 Aug 2006 07:47:28 PM UTCvikasgpOpen/ClosedOpen=>Closed
Fri 04 Aug 2006 08:51:32 PM UTCvikasgpStatusIn Progress=>Fixed
Thu 03 Aug 2006 11:23:43 PM UTCvikasgpStatusNone=>In Progress
Thu 03 Aug 2006 09:55:05 PM UTCavatiAssigned toNone=>vikasgp

Back to the top


Powered by Savane 3.1-cleanup1