Displaying 7 results from an estimated 7 matches for "__blk_put_request".
2012 Jun 13
2
drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
...xpected ?struct scatterlist *? but argument is of type ?struct request *?
drivers/message/i2o/i2o_block.c:324:2: error: too many arguments to function ?blk_rq_map_sg?
include/linux/blkdev.h:845:12: note: declared here
drivers/target/target_core_pscsi.c:1224:2: error: too many arguments to function ?__blk_put_request?
include/linux/blkdev.h:645:13: note: declared here
drivers/scsi/device_handler/scsi_dh_hp_sw.c:230:2: error: too many arguments to function ?__blk_put_request?
include/linux/blkdev.h:645:13: note: declared here
drivers/scsi/device_handler/scsi_dh_alua.c:255:2: error: too many arguments to function...
2012 Jun 13
2
drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
...xpected ?struct scatterlist *? but argument is of type ?struct request *?
drivers/message/i2o/i2o_block.c:324:2: error: too many arguments to function ?blk_rq_map_sg?
include/linux/blkdev.h:845:12: note: declared here
drivers/target/target_core_pscsi.c:1224:2: error: too many arguments to function ?__blk_put_request?
include/linux/blkdev.h:645:13: note: declared here
drivers/scsi/device_handler/scsi_dh_hp_sw.c:230:2: error: too many arguments to function ?__blk_put_request?
include/linux/blkdev.h:645:13: note: declared here
drivers/scsi/device_handler/scsi_dh_alua.c:255:2: error: too many arguments to function...
2002 Dec 29
0
[Fwd: 2.5.53: VFS: brelse: Trying to free free buffer]
...:1182
Call Trace:
[<c014c345>] __brelse+0x35/0x40
[<c0180efe>] ext3_htree_fill_tree+0x14e/0x240
[<c017a809>] ext3_dx_readdir+0x99/0x1e0
[<c015b390>] filldir64+0x0/0xf0
[<c017a3f5>] ext3_readdir+0x465/0x490
[<c015b390>] filldir64+0x0/0xf0
[<c01d5258>] __blk_put_request+0xd8/0x110
[<c01d320f>] elv_queue_empty+0x1f/0x30
[<c01e8d8c>] choose_drive+0x1c/0x190
[<c01e844a>] ide_do_request+0x3a/0x290
[<c015b0ca>] vfs_readdir+0x8a/0x90
[<c015b390>] filldir64+0x0/0xf0
[<c015b505>] sys_getdents64+0x85/0xc4
[<c015b390>] filldi...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...1116,54 +1087,56 @@ void part_round_stats(int cpu, struct hd_struct *part)
if (part->partno)
part_round_stats_single(cpu, &part_to_disk(part)->part0, now);
part_round_stats_single(cpu, part, now);
}
EXPORT_SYMBOL_GPL(part_round_stats);
/*
* queue lock must be held
*/
-void __blk_put_request(struct request_queue *q, struct request *req)
+void __blk_put_request(struct request *req)
{
- if (unlikely(!q))
+ struct blk_queue_ctx *ctx = req->queue_ctx;
+
+ if (unlikely(!ctx))
return;
if (unlikely(--req->ref_count))
return;
- elv_completed_request(q, req);
+ elv_completed_re...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...1116,54 +1087,56 @@ void part_round_stats(int cpu, struct hd_struct *part)
if (part->partno)
part_round_stats_single(cpu, &part_to_disk(part)->part0, now);
part_round_stats_single(cpu, part, now);
}
EXPORT_SYMBOL_GPL(part_round_stats);
/*
* queue lock must be held
*/
-void __blk_put_request(struct request_queue *q, struct request *req)
+void __blk_put_request(struct request *req)
{
- if (unlikely(!q))
+ struct blk_queue_ctx *ctx = req->queue_ctx;
+
+ if (unlikely(!ctx))
return;
if (unlikely(--req->ref_count))
return;
- elv_completed_request(q, req);
+ elv_completed_re...
2008 May 30
5
[PATCH 1/4] pvSCSI driver
pvSCSI backend driver
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
-----
Jun Kamada
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Jan 02
0
[PATCH 1/4] add scsi-target and IO_CMD_EPOLL_WAIT patches
..., struct scsi_cmnd *cmd)
++{
++ struct request_queue *q = shost->uspace_req_q;
++ struct request *rq = cmd->request;
++ struct scsi_tgt_cmd *tcmd = rq->end_io_data;
++ unsigned long flags;
++
++ kmem_cache_free(scsi_tgt_cmd_cache, tcmd);
++
++ spin_lock_irqsave(q->queue_lock, flags);
++ __blk_put_request(q, rq);
++ spin_unlock_irqrestore(q->queue_lock, flags);
++
++ __scsi_put_command(shost, cmd, &shost->shost_gendev);
++}
++EXPORT_SYMBOL_GPL(scsi_host_put_command);
++
++static void scsi_unmap_user_pages(struct scsi_tgt_cmd *tcmd)
++{
++ struct bio *bio;
++
++ /* must call bio_endio in ca...