diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-08 11:54:10 +0900 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 09:52:16 +0200 |
commit | bab2a807a489822ded0c9d4a5344c80bcac10b0a (patch) | |
tree | cf93330ae12f820d1dd53bc9d484fa6cad38962c /drivers/mtd/mtd_blkdevs.c | |
parent | 06b0608e2b46465e8e663214e7db982ddb000346 (diff) |
xd: dequeue in-flight request
xd processes requests one-by-one synchronously and can be easily
converted to dequeueing model. Convert it.
While at it, use rq_cur_bytes instead of rq_bytes when checking for
sector overflow. This is for for consistency and better behavior for
merged requests.
[ Impact: dequeue in-flight request ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
0 files changed, 0 insertions, 0 deletions