summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-threads/src/io-threads.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-03-16 07:04:21 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-03-17 17:17:53 +0530
commitbabf82427ce19aee091259b25613c426c696c330 (patch)
treed188d2d6ea9771d2be6f658b2d5d3907a4157825 /xlators/performance/io-threads/src/io-threads.h
parent8e3e0e776cc04ad9f840383c4693ee73adc79558 (diff)
IO-threads Cleanup: Clean-up request scheduling and queueing interface.
This patch does two things: 1. Cleans up the request scheduling and queueing interface so that all fops only need to call iot_schedule and not iot_queue and in some cases iot_schedule. 2. Till now, we've had open and create calls go through the main glusterfsd thread when sending open and create fops. This patch makes them also go through the worker threads. But since the open and creates requests would not be called with a valid inode number in the loc_t, these requests will get assigned to the worker at index 0. This will be fixed RSN, when we introduce various techniques of distributing the inodes(..not requests..) over the worker threads. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/performance/io-threads/src/io-threads.h')
0 files changed, 0 insertions, 0 deletions