Re: [Cluster-devel] [PATCH] dlm: check the maximum size of a request from user

2012-09-10 Thread David Teigland
On Sun, Sep 09, 2012 at 04:16:58PM +0200, Sasha Levin wrote: > device_write only checks whether the request size is big enough, but it > doesn't > check if the size is too big. > > At that point, it also tries to allocate as much memory as the user has > requested > even if it's too much. This c

[Cluster-devel] GFS2: Consolidate free block searching functions

2012-09-10 Thread Steven Whitehouse
>From de5b4c791e632495827a9c616ea5596dd6afd829 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Mon, 10 Sep 2012 10:03:50 +0100 Subject: [PATCH] GFS2: Consolidate free block searching functions With the recently added block reservation code, an additional function was added to search for fr