lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.040 / U:3.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site