@@ -1267,12 +1267,6 @@ void elv_io_group_congestion_threshold(struct request_queue *q,
if (nr > q->nr_group_requests)
nr = q->nr_group_requests;
iog->nr_congestion_on = nr;
-
- nr = q->nr_group_requests - (q->nr_group_requests / 8)
- - (q->nr_group_requests / 16) - 1;
- if (nr < 1)
- nr = 1;
- iog->nr_congestion_off = nr;
}
static inline int elv_is_iog_congested(struct request_queue *q,
@@ -266,9 +266,8 @@ struct io_group {
/* Single ioq per group, used for noop, deadline, anticipatory */
struct io_queue *ioq;
- /* io group congestion on and off threshold for request descriptors */
+ /* io group congestion on threshold for request descriptors */
unsigned int nr_congestion_on;
- unsigned int nr_congestion_off;
/* request list associated with the group */
struct request_list rl;