Revision tags: v2.6.28-rc5, v2.6.28-rc4, v2.6.28-rc3 |
|
#
65d3618c |
| 30-Oct-2008 |
Jens Axboe <jens.axboe@oracle.com> |
block: add comment in blk_rq_timed_out() about why next can not be 0
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
#
565e411d |
| 30-Oct-2008 |
malahal@us.ibm.com <malahal@us.ibm.com> |
block: optimizations in blk_rq_timed_out_timer()
Now the rq->deadline can't be zero if the request is in the timeout_list, so there is no need to have next_set. There is no need to access a request'
block: optimizations in blk_rq_timed_out_timer()
Now the rq->deadline can't be zero if the request is in the timeout_list, so there is no need to have next_set. There is no need to access a request's deadline field if blk_rq_timed_out is called on it.
Signed-off-by: Malahal Naineni <malahal@us.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
show more ...
|
#
7838c15b |
| 06-Nov-2008 |
Alan Stern <stern@rowland.harvard.edu> |
Block: use round_jiffies_up()
This patch (as1159b) changes the timeout routines in the block core to use round_jiffies_up(). There's no point in rounding the timer deadline down, since if it expire
Block: use round_jiffies_up()
This patch (as1159b) changes the timeout routines in the block core to use round_jiffies_up(). There's no point in rounding the timer deadline down, since if it expires too early we will have to restart it.
The patch also removes some unnecessary tests when a request is removed from the queue's timer list.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
show more ...
|
Revision tags: v2.6.28-rc2, v2.6.28-rc1, v2.6.27, v2.6.27-rc9, v2.6.27-rc8, v2.6.27-rc7 |
|
#
7ba1fbaa |
| 16-Sep-2008 |
Jens Axboe <jens.axboe@oracle.com> |
block: use rq complete marking in blk_abort_request()
We cannot abort a request if we raced with the timeout handler already, or with the IO completion. So make blk_abort_request() mark the request
block: use rq complete marking in blk_abort_request()
We cannot abort a request if we raced with the timeout handler already, or with the IO completion. So make blk_abort_request() mark the request as complete, and only continue if we succeeded.
Found and suggested by Mike Anderson <andmike@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
show more ...
|
#
581d4e28 |
| 14-Sep-2008 |
Jens Axboe <jens.axboe@oracle.com> |
block: add fault injection mechanism for faking request timeouts
Only works for the generic request timer handling. Allows one to sporadically ignore request completions, thus exercising the timeout
block: add fault injection mechanism for faking request timeouts
Only works for the generic request timer handling. Allows one to sporadically ignore request completions, thus exercising the timeout handling.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
show more ...
|
#
11914a53 |
| 13-Sep-2008 |
Mike Anderson <andmike@linux.vnet.ibm.com> |
block: Add interface to abort queued requests
Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
|
#
242f9dcb |
| 14-Sep-2008 |
Jens Axboe <jens.axboe@oracle.com> |
block: unify request timeout handling
Right now SCSI and others do their own command timeout handling. Move those bits to the block layer.
Instead of having a timer per command, we try to be a bit
block: unify request timeout handling
Right now SCSI and others do their own command timeout handling. Move those bits to the block layer.
Instead of having a timer per command, we try to be a bit more clever and simply have one per-queue. This avoids the overhead of having to tear down and setup a timer for each command, so it will result in a lot less timer fiddling.
Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
show more ...
|