]> git.baikalelectronics.ru Git - kernel.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)
commitbb81062dd125ec219ac7a86456729821f1e48878
treef00b0b3e4649ffcbcf1ff26c08ee28371a857c89
parent7ffbe0570585809ae96331832d5f8918e05b06d9
[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