Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361679
b: refs/heads/master
c: 3295874
h: refs/heads/master
i:
  361677: 2223534
  361675: 58df6cc
  361671: 1de0edc
  361663: 5d919a9
v: v3
  • Loading branch information
Keith Busch authored and Matthew Wilcox committed Nov 13, 2012
1 parent e371d4e commit e0f0f12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 859361a228258edf4821d9f5635825033eca78e8
refs/heads/master: 3295874b6074d749516d6decd43afad7bf6e38ff
4 changes: 4 additions & 0 deletions trunk/drivers/block/nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,10 @@ static void nvme_free_queue(struct nvme_dev *dev, int qid)

spin_lock_irq(&nvmeq->q_lock);
nvme_cancel_ios(nvmeq, false);
while (bio_list_peek(&nvmeq->sq_cong)) {
struct bio *bio = bio_list_pop(&nvmeq->sq_cong);
bio_endio(bio, -EIO);
}
spin_unlock_irq(&nvmeq->q_lock);

irq_set_affinity_hint(vector, NULL);
Expand Down

0 comments on commit e0f0f12

Please sign in to comment.