Messages in this thread Patch in this message | | | Date | Tue, 10 Jun 2003 16:35:56 +0100 (BST) | From | Hugh Dickins <> | Subject | [PATCH] loop 7/9 remove blk_queue_bounce |
| |
What purpose does loop_make_request's blk_queue_bounce serve? None, it's just a relic from before the kmaps were added to loop's transfers, and ties up mempooled resources - in the file-backed case, with no guarantee they'll soon be freed. And what purpose does loop_set_fd's blk_queue_bounce_limit serve? None, blk_queue_make_request did that.
--- loop6/drivers/block/loop.c Tue Jun 10 12:56:34 2003 +++ loop7/drivers/block/loop.c Tue Jun 10 12:59:47 2003 @@ -548,8 +548,6 @@ goto err; } - blk_queue_bounce(q, &old_bio); - /* * file backed, queue for loop_thread to handle */ @@ -742,7 +740,6 @@ * device */ blk_queue_make_request(&lo->lo_queue, loop_make_request); - blk_queue_bounce_limit(&lo->lo_queue, BLK_BOUNCE_HIGH); lo->lo_queue.queuedata = lo; /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |