commit | dbecf3ab40b5a6cc4499543778cd9f9682c0abad | [log] [tgz] |
---|---|---|
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | Tue Apr 18 09:45:18 2006 +0200 |
committer | Jens Axboe <axboe@suse.de> | Tue Apr 18 09:45:18 2006 +0200 |
tree | 56dcd8c30835472b54017e1cb5fd852386ee9e49 | |
parent | fba822722e3f9d438fca8fd9541d7ddd447d7a48 [diff] |
[PATCH 2/2] cfq: fix cic's rbtree traversal When queue dies, we set cic->key=NULL as dead mark. So, when we traverse a rbtree, we must check whether it's still valid key. if it was invalidated, drop it, then restart the traversal from top. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Jens Axboe <axboe@suse.de>