[Gluster-devel] [bug #17281] statistics call in xlator fops

Anand Avati INVALID.NOREPLY at gnu.org
Fri Aug 4 16:12:27 UTC 2006

Follow-up Comment #1, bug #17281 (project gluster):

1. add new OP in glustersf_op_t
2. use the OP for transaction with glusterfsd (add handler for that OP in
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


Reply to this item at:


  Message sent via/by Savannah

More information about the Gluster-devel mailing list