[bug #17281] statistics call in xlator fops

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

                 Summary: statistics call in xlator fops
                 Project: Gluster
            Submitted by: avati
            Submitted on: Thursday 08/03/2006 at 14:53
                Category: GlusterFS
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Missing Feature
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

Update of bug #17281 (project gluster):

             Assigned to:                    None => vikasgp                


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

Update of bug #17281 (project gluster):

                  Status:                    None => In Progress            


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

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
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


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

Update of bug #17281 (project gluster):

                  Status:             In Progress => Fixed                  

    _______________________________________________________

Follow-up Comment #2:

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel
Reply | Threaded
Open this post in threaded view
|

[bug #17281] statistics call in xlator fops

Eric L.-2

Update of bug #17281 (project gluster):

             Open/Closed:                    Open => Closed                


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=17281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Gluster-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/gluster-devel