]> err.no Git - linux-2.6/commitdiff
cfq-iosched: document the cfqq flags
authorJens Axboe <jens.axboe@oracle.com>
Fri, 19 Jan 2007 00:35:30 +0000 (11:35 +1100)
committerJens Axboe <axboe@carl.home.kernel.dk>
Sun, 11 Feb 2007 22:14:44 +0000 (23:14 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c

index 4c24986151ba52deb56fc7084f86a4d2483c23b7..975cdfc8d61406b19d05d6380caf3b81a3fd15c9 100644 (file)
@@ -162,15 +162,15 @@ struct cfq_queue {
 };
 
 enum cfqq_state_flags {
-       CFQ_CFQQ_FLAG_on_rr = 0,
-       CFQ_CFQQ_FLAG_wait_request,
-       CFQ_CFQQ_FLAG_must_alloc,
-       CFQ_CFQQ_FLAG_must_alloc_slice,
-       CFQ_CFQQ_FLAG_must_dispatch,
-       CFQ_CFQQ_FLAG_fifo_expire,
-       CFQ_CFQQ_FLAG_idle_window,
-       CFQ_CFQQ_FLAG_prio_changed,
-       CFQ_CFQQ_FLAG_queue_new,
+       CFQ_CFQQ_FLAG_on_rr = 0,        /* on round-robin busy list */
+       CFQ_CFQQ_FLAG_wait_request,     /* waiting for a request */
+       CFQ_CFQQ_FLAG_must_alloc,       /* must be allowed rq alloc */
+       CFQ_CFQQ_FLAG_must_alloc_slice, /* per-slice must_alloc flag */
+       CFQ_CFQQ_FLAG_must_dispatch,    /* must dispatch, even if expired */
+       CFQ_CFQQ_FLAG_fifo_expire,      /* FIFO checked in this slice */
+       CFQ_CFQQ_FLAG_idle_window,      /* slice idling enabled */
+       CFQ_CFQQ_FLAG_prio_changed,     /* task priority has changed */
+       CFQ_CFQQ_FLAG_queue_new,        /* queue never been serviced */
 };
 
 #define CFQ_CFQQ_FNS(name)                                             \