From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Christie Subject: [PATCH] remove alloc_page from dm-emc.c Date: Mon, 11 Apr 2005 04:32:47 -0700 Message-ID: <425A605F.9080807@cs.wisc.edu> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Lars Marowsky-Bree , Alasdair G Kergon , device-mapper development List-Id: dm-devel.ids Hey Lars, Here is what I meant. A Page for just something around 8-16 bytes seems wasteful. Plus there is no reserve. If you have to end up setting more bits maybe it is better to preallocate a command per device at create time, or maybe since there are four different combos I should have done it with this patch? This was made against 2.6.12-rc2. Only compile tested. Mike