search for: blk_peek_request

Displaying 14 results from an estimated 14 matches for "blk_peek_request".

2012 May 03
2
[PATCH 1/2] virtio-blk: Fix hot-unplug race in remove method
...e(struct virtqueue *vq) } __blk_end_request_all(vbr->req, error); + vblk->req_in_flight--; mempool_free(vbr, vblk->pool); } /* In case queue is stopped waiting for more buffers. */ @@ -190,6 +194,7 @@ static void do_virtblk_request(struct request_queue *q) while ((req = blk_peek_request(q)) != NULL) { BUG_ON(req->nr_phys_segments + 2 > vblk->sg_elems); + vblk->req_in_flight++; /* If this request fails, stop queue and wait for something to finish to restart it. */ @@ -443,7 +448,7 @@ static int __devinit virtblk_probe(struct virtio_device *vdev) if (err...
2012 May 03
2
[PATCH 1/2] virtio-blk: Fix hot-unplug race in remove method
...e(struct virtqueue *vq) } __blk_end_request_all(vbr->req, error); + vblk->req_in_flight--; mempool_free(vbr, vblk->pool); } /* In case queue is stopped waiting for more buffers. */ @@ -190,6 +194,7 @@ static void do_virtblk_request(struct request_queue *q) while ((req = blk_peek_request(q)) != NULL) { BUG_ON(req->nr_phys_segments + 2 > vblk->sg_elems); + vblk->req_in_flight++; /* If this request fails, stop queue and wait for something to finish to restart it. */ @@ -443,7 +448,7 @@ static int __devinit virtblk_probe(struct virtio_device *vdev) if (err...
2012 May 14
0
Weird problem with rsync 3.0.9
...260855c0 0000000000000086 ffff880221e7e010 ffff88022628ee40 [ 4660.188484] 0000000000010280 ffff880221e7ffd8 ffff880221e7ffd8 0000000000010280 [ 4660.188488] ffff8802251f2210 ffff88022628ee40 ffff8802251f25a0 ffff8802251f2210 [ 4660.188492] Call Trace: [ 4660.188502] [<ffffffff8114c19b>] ? blk_peek_request+0x17c/0x18e [ 4660.188507] [<ffffffff811e8363>] ? scsi_request_fn+0x31e/0x3f7 [ 4660.188511] [<ffffffff8114d20e>] ? blk_queue_bio+0x273/0x28c [ 4660.188515] [<ffffffff810cc6ba>] ? unmap_underlying_metadata+0x29/0x29 [ 4660.188520] [<ffffffff8133367e>] ? io_schedule+0x89/...
2011 Apr 22
13
[RESEND] [PATCH 00/18] Staging: hv: Cleanup-storage-drivers-phase-III
This is a resend of a previously sent patch-set. This patch-set deals with some of the style isues in blkvsc_drv.c. We also get rid most of the "dead code" in this file: 1) Get rid of most of the forward declarations in this file. The only remaining forward declarations are to deal with circular dependencies. 2) Get rid of most of the dead code in the file. Some of the
2011 Apr 22
13
[RESEND] [PATCH 00/18] Staging: hv: Cleanup-storage-drivers-phase-III
This is a resend of a previously sent patch-set. This patch-set deals with some of the style isues in blkvsc_drv.c. We also get rid most of the "dead code" in this file: 1) Get rid of most of the forward declarations in this file. The only remaining forward declarations are to deal with circular dependencies. 2) Get rid of most of the dead code in the file. Some of the
2010 Jul 07
2
Bug#588310: Xen enabled kernel cannot find the / partition
..._timeout+0x2e/0xdd [ 373.253353] [<ffffffffa0028eab>] ? scsi_request_fn+0x0/0x506 [scsi_mod] [ 373.333505] [<ffffffff8130c2f2>] ? _spin_unlock_irqrestore+0xd/0xe [ 373.408455] [<ffffffff8130c2f2>] ? _spin_unlock_irqrestore+0xd/0xe [ 373.483409] [<ffffffff8117fe5e>] ? blk_peek_request+0x18b/0x19f [ 373.555238] [<ffffffff8130c2f2>] ? _spin_unlock_irqrestore+0xd/0xe [ 373.630188] [<ffffffff8130b1dc>] ? wait_for_common+0xde/0x15b [ 373.699934] [<ffffffff8104c144>] ? default_wake_function+0x0/0x9 [ 373.772807] [<ffffffff811839a1>] ? blk_execute_rq+0x9...
2011 Mar 28
22
[PATCH 00/22] Staging: hv: Cleanup-storage-drivers-phase-III
This patch-set deals with some of the style isues in blkvsc_drv.c. We also get rid most of the "dead code" in this file: 1) Get rid of most of the forward declarations in this file. The only remaining forward declarations are to deal with circular dependencies. 2) Get rid of most of the dead code in the file. Some of the functions in this file are place holders - they
2011 Mar 28
22
[PATCH 00/22] Staging: hv: Cleanup-storage-drivers-phase-III
This patch-set deals with some of the style isues in blkvsc_drv.c. We also get rid most of the "dead code" in this file: 1) Get rid of most of the forward declarations in this file. The only remaining forward declarations are to deal with circular dependencies. 2) Get rid of most of the dead code in the file. Some of the functions in this file are place holders - they
2011 Apr 04
18
[PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV
More cleanup. In this patch-set we deal with the following issues: 1) While a Linux guest on Hyper-V can be assigned removable media devices (DVD, floppy etc), these devices are not handled by the Hyper-V block driver. So, we cleanup all the dead code dealing with removable media devices. 2) There were multiple functions to retrieve information about the device. Since much of
2011 Apr 04
18
[PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV
More cleanup. In this patch-set we deal with the following issues: 1) While a Linux guest on Hyper-V can be assigned removable media devices (DVD, floppy etc), these devices are not handled by the Hyper-V block driver. So, we cleanup all the dead code dealing with removable media devices. 2) There were multiple functions to retrieve information about the device. Since much of
2011 Apr 06
20
[RESEND][PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV
The latest upstream merge changed struct block_device_operations: This merge got rid of blkvsc_media_changed and introduced the function blkvsc_check_events. This broke all the patches that were sent after the tree was closed the last time. This is a resend of this patch-set to account for this change in the kernel. More cleanup. In this patch-set we deal with the following issues: 1) While a
2011 Apr 06
20
[RESEND][PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV
The latest upstream merge changed struct block_device_operations: This merge got rid of blkvsc_media_changed and introduced the function blkvsc_check_events. This broke all the patches that were sent after the tree was closed the last time. This is a resend of this patch-set to account for this change in the kernel. More cleanup. In this patch-set we deal with the following issues: 1) While a
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...RT_FLUSH; - add_acct_request(q, rq, where); + add_acct_request(rq, where); if (where == ELEVATOR_INSERT_FLUSH) __blk_run_queue(q); spin_unlock_irqrestore(q->queue_lock, flags); return 0; } EXPORT_SYMBOL_GPL(blk_insert_cloned_request); /** @@ -1918,19 +1895,19 @@ struct request *blk_peek_request(struct request_queue *q) while ((rq = __elv_next_request(q)) != NULL) { if (!(rq->cmd_flags & REQ_STARTED)) { /* * This is the first time the device driver * sees this request (possibly after * requeueing). Notify IO scheduler. */ if (rq->cmd_flags &amp...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...RT_FLUSH; - add_acct_request(q, rq, where); + add_acct_request(rq, where); if (where == ELEVATOR_INSERT_FLUSH) __blk_run_queue(q); spin_unlock_irqrestore(q->queue_lock, flags); return 0; } EXPORT_SYMBOL_GPL(blk_insert_cloned_request); /** @@ -1918,19 +1895,19 @@ struct request *blk_peek_request(struct request_queue *q) while ((rq = __elv_next_request(q)) != NULL) { if (!(rq->cmd_flags & REQ_STARTED)) { /* * This is the first time the device driver * sees this request (possibly after * requeueing). Notify IO scheduler. */ if (rq->cmd_flags &amp...