search for: blk_trace

Displaying 3 results from an estimated 3 matches for "blk_trace".

2008 Sep 10
0
[RFC][PATCH -mm] blktrace: adds ioprio to blktrace
...ck/blktrace.c 2008-09-10 19:27:44.000000000 +0900 +++ linux-2.6.27-rc5-mm1-blktrace/block/blktrace.c 2008-09-11 00:44:52.000000000 +0900 @@ -120,7 +120,8 @@ static u32 ddir_act[2] __read_mostly = { * blk_io_trace structure and places it in a per-cpu subbuffer. */ void __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, - int rw, u32 what, int error, int pdu_len, void *pdu_data) + int rw, u32 what, int error, unsigned short ioprio, + int pdu_len, void *pdu_data) { struct task_struct *tsk = current; struct blk_io_trace *t; @@ -168,6 +169,7 @@ void __blk_add...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...t(q, q->elevator); } blk_throtl_exit(q); - if (rl->rq_pool) - mempool_destroy(rl->rq_pool); + if (q->rq_pool) + mempool_destroy(q->rq_pool); + if (q->queue_ctx) + kfree(q->queue_ctx); if (q->queue_tags) __blk_queue_free_tags(q); blk_throtl_release(q); blk_trace_shutdown(q); bdi_destroy(&q->backing_dev_info); diff --git a/block/blk-tag.c b/block/blk-tag.c index 4af6f5c..8701a2a 100644 --- a/block/blk-tag.c +++ b/block/blk-tag.c @@ -347,19 +347,19 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq) * * We reserve a few...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...t(q, q->elevator); } blk_throtl_exit(q); - if (rl->rq_pool) - mempool_destroy(rl->rq_pool); + if (q->rq_pool) + mempool_destroy(q->rq_pool); + if (q->queue_ctx) + kfree(q->queue_ctx); if (q->queue_tags) __blk_queue_free_tags(q); blk_throtl_release(q); blk_trace_shutdown(q); bdi_destroy(&q->backing_dev_info); diff --git a/block/blk-tag.c b/block/blk-tag.c index 4af6f5c..8701a2a 100644 --- a/block/blk-tag.c +++ b/block/blk-tag.c @@ -347,19 +347,19 @@ int blk_queue_start_tag(struct request_queue *q, struct request *rq) * * We reserve a few...