projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7523d83
)
NVMe: Remove the kthread from the wait queue
author
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Wed, 16 Mar 2011 20:45:49 +0000
(16:45 -0400)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:00 +0000
(15:53 -0400)
Once there are no more bios on the congestion list, we can stop waking
up the nvme kthread every time a completion happens.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c
patch
|
blob
|
history
diff --git
a/drivers/block/nvme.c
b/drivers/block/nvme.c
index
cf89db8
..
8d3c0b7
100644
(file)
--- a/
drivers/block/nvme.c
+++ b/
drivers/block/nvme.c
@@
-1162,6
+1162,9
@@
static void nvme_resubmit_bios(struct nvme_queue *nvmeq)
bio_list_add_head(&nvmeq->sq_cong, bio);
break;
}
+ if (bio_list_empty(&nvmeq->sq_cong))
+ remove_wait_queue(&nvmeq->sq_full,
+ &nvmeq->sq_cong_wait);
}
}