aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-01-18 19:35:30 -0500
committerJens Axboe <axboe@carl.home.kernel.dk>2007-02-11 17:14:44 -0500
commitb0b8d74941b7bc67edec26e4c114d27827edfd09 (patch)
tree622cc98d113eac9d34e0ce02ff9eed77fbaf033b /block
parent98e41c7dfc90c0e9a1086502d4c4d367e1ad74db (diff)
cfq-iosched: document the cfqq flags
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r--block/cfq-iosched.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 4c24986151ba..975cdfc8d614 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -162,15 +162,15 @@ struct cfq_queue {
162}; 162};
163 163
164enum cfqq_state_flags { 164enum cfqq_state_flags {
165 CFQ_CFQQ_FLAG_on_rr = 0, 165 CFQ_CFQQ_FLAG_on_rr = 0, /* on round-robin busy list */
166 CFQ_CFQQ_FLAG_wait_request, 166 CFQ_CFQQ_FLAG_wait_request, /* waiting for a request */
167 CFQ_CFQQ_FLAG_must_alloc, 167 CFQ_CFQQ_FLAG_must_alloc, /* must be allowed rq alloc */
168 CFQ_CFQQ_FLAG_must_alloc_slice, 168 CFQ_CFQQ_FLAG_must_alloc_slice, /* per-slice must_alloc flag */
169 CFQ_CFQQ_FLAG_must_dispatch, 169 CFQ_CFQQ_FLAG_must_dispatch, /* must dispatch, even if expired */
170 CFQ_CFQQ_FLAG_fifo_expire, 170 CFQ_CFQQ_FLAG_fifo_expire, /* FIFO checked in this slice */
171 CFQ_CFQQ_FLAG_idle_window, 171 CFQ_CFQQ_FLAG_idle_window, /* slice idling enabled */
172 CFQ_CFQQ_FLAG_prio_changed, 172 CFQ_CFQQ_FLAG_prio_changed, /* task priority has changed */
173 CFQ_CFQQ_FLAG_queue_new, 173 CFQ_CFQQ_FLAG_queue_new, /* queue never been serviced */
174}; 174};
175 175
176#define CFQ_CFQQ_FNS(name) \ 176#define CFQ_CFQQ_FNS(name) \