Skip to content

Commit

Permalink
block: row: add magic values.
Browse files Browse the repository at this point in the history
Signed-off-by: franciscofranco <[email protected]>
Signed-off-by: engstk <[email protected]>
  • Loading branch information
franciscofranco authored and Ma3aXaTa committed Nov 13, 2018
1 parent c03c8f9 commit 8a8c521
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions block/row-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ struct row_queue_params {
*/
static const struct row_queue_params row_queues_def[] = {
/* idling_enabled, quantum, is_urgent */
{true, 10, true}, /* ROWQ_PRIO_HIGH_READ */
{false, 1, false}, /* ROWQ_PRIO_HIGH_SWRITE */
{true, 100, true}, /* ROWQ_PRIO_REG_READ */
{false, 1, false}, /* ROWQ_PRIO_REG_SWRITE */
{false, 1, false}, /* ROWQ_PRIO_REG_WRITE */
{false, 1, false}, /* ROWQ_PRIO_LOW_READ */
{false, 1, false} /* ROWQ_PRIO_LOW_SWRITE */
{true, 100, true}, /* ROWQ_PRIO_HIGH_READ */
{false, 5, false}, /* ROWQ_PRIO_HIGH_SWRITE */
{true, 75, true}, /* ROWQ_PRIO_REG_READ */
{false, 4, false}, /* ROWQ_PRIO_REG_SWRITE */
{false, 4, false}, /* ROWQ_PRIO_REG_WRITE */
{false, 3, false}, /* ROWQ_PRIO_LOW_READ */
{false, 2, false} /* ROWQ_PRIO_LOW_SWRITE */
};

/* Default values for idling on read queues (in msec) */
#define ROW_IDLE_TIME_MSEC 5
#define ROW_READ_FREQ_MSEC 5
#define ROW_IDLE_TIME_MSEC 10
#define ROW_READ_FREQ_MSEC 25

/**
* struct rowq_idling_data - parameters for idling on the queue
Expand Down

0 comments on commit 8a8c521

Please sign in to comment.