diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-03-16 07:03:02 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-17 17:17:49 +0530 |
commit | 8e3e0e776cc04ad9f840383c4693ee73adc79558 (patch) | |
tree | a27c6c3d147e3994d3535bc754112f7fb4df1151 /doc | |
parent | 3a83fdc459a620d5ce0360bcf5fa071118d5430f (diff) |
IO-threads Cleanup: Change workers list to dynamically allocated array
Worker threads were represented as a list in iot_conf_t
which made us traverse the list of workers in order to
decide which thread gets the request. Now we represent the
workers as a dynamically allocated array so that we can just index
into the array to schedule the file.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions