]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] cleanup of deadline_dispatch_requests()
authorNikita Danilov <nikita@clusterfs.com>
Tue, 6 Sep 2005 22:17:20 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:28 +0000 (16:57 -0700)
commit4b0dc07e66ade18e0209331afbd16b3de8384f5c
treef00b0b3e4649ffcbcf1ff26c08ee28371a857c89
parentffdfc40976dda18d923cd001d44bf0ee55da1af4
[PATCH] cleanup of deadline_dispatch_requests()

cleanup of deadline_dispatch_requests():

- replace drq selection with hopefully clearer while semantically the
  same construct: take write request, if there is any, otherwise take read
  one, or NULL if none exist.

- kill unused other_dir.

Signed-off-by: Nikita Danilov <nikita@clusterfs.com>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/deadline-iosched.c