Displaying 4 results from an estimated 4 matches for "elv_add_request".
Did you mean:
__elv_add_request
2012 Jun 13
2
drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
...too many arguments to function ?blk_rq_map_sg?
include/linux/blkdev.h:845:12: note: declared here
drivers/ide/ide-probe.c:762:2: error: too few arguments to function ?blk_init_queue_node?
include/linux/blkdev.h:794:30: note: declared here
drivers/ide/ide-park.c:55:2: warning: passing argument 1 of ?elv_add_request? from incompatible pointer type [enabled by default]
include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *?
drivers/ide/ide-park.c:55:2: warning: passing argument 2 of ?elv_add_request? makes integer from pointer without a cast [enabled b...
2012 Jun 13
2
drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
...too many arguments to function ?blk_rq_map_sg?
include/linux/blkdev.h:845:12: note: declared here
drivers/ide/ide-probe.c:762:2: error: too few arguments to function ?blk_init_queue_node?
include/linux/blkdev.h:794:30: note: declared here
drivers/ide/ide-park.c:55:2: warning: passing argument 1 of ?elv_add_request? from incompatible pointer type [enabled by default]
include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *?
drivers/ide/ide-park.c:55:2: warning: passing argument 2 of ?elv_add_request? makes integer from pointer without a cast [enabled b...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...SYMBOL(blk_requeue_request);
-static void add_acct_request(struct request_queue *q, struct request *rq,
- int where)
+static void add_acct_request(struct request *rq, int where)
{
+ struct blk_queue_ctx *ctx = rq->queue_ctx;
+
+ BUG_ON(!irqs_disabled());
+
drive_stat_acct(rq, 1);
- __elv_add_request(q, rq, where);
+ spin_lock(&ctx->lock);
+ __elv_add_request(rq, where);
+ spin_unlock(&ctx->lock);
}
static void part_round_stats_single(int cpu, struct hd_struct *part,
unsigned long now)
{
if (now == part->stamp)
return;
if (part_in_flight(part)) {
@@ -1116...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...SYMBOL(blk_requeue_request);
-static void add_acct_request(struct request_queue *q, struct request *rq,
- int where)
+static void add_acct_request(struct request *rq, int where)
{
+ struct blk_queue_ctx *ctx = rq->queue_ctx;
+
+ BUG_ON(!irqs_disabled());
+
drive_stat_acct(rq, 1);
- __elv_add_request(q, rq, where);
+ spin_lock(&ctx->lock);
+ __elv_add_request(rq, where);
+ spin_unlock(&ctx->lock);
}
static void part_round_stats_single(int cpu, struct hd_struct *part,
unsigned long now)
{
if (now == part->stamp)
return;
if (part_in_flight(part)) {
@@ -1116...