Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
65d3618c
Commit
65d3618c
authored
Oct 30, 2008
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
block: add comment in blk_rq_timed_out() about why next can not be 0
Signed-off-by:
Jens Axboe
<
jens.axboe@oracle.com
>
parent
565e411d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
block/blk-timeout.c
block/blk-timeout.c
+6
-1
No files found.
block/blk-timeout.c
View file @
65d3618c
...
...
@@ -132,7 +132,12 @@ void blk_rq_timed_out_timer(unsigned long data)
}
}
if
(
next_set
&&
!
list_empty
(
&
q
->
timeout_list
))
/*
* next can never be 0 here with the list non-empty, since we always
* bump ->deadline to 1 so we can detect if the timer was ever added
* or not. See comment in blk_add_timer()
*/
if
(
next
)
mod_timer
(
&
q
->
timeout
,
round_jiffies_up
(
next
));
spin_unlock_irqrestore
(
q
->
queue_lock
,
flags
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment