[Cluster-devel] Re: [PATCH] misc: use a proper range for minor number dynamic allocation

2009-11-10 Thread Alan Cox
We could consider buggy the caller which asks for the same device name more than once, without unregistering the first device. But better safe If they ask for the same name we certainly should. Probably we should error that request and use WARN_ON() to shame the offender in kerneloops.org.

Re: [Cluster-devel] Re: [PATCH] misc: use a proper range for minor number dynamic allocation

2009-11-10 Thread Steven Whitehouse
Hi, On Mon, 2009-11-09 at 17:03 -0600, David Teigland wrote: On Mon, Nov 09, 2009 at 01:28:36PM -0800, Andrew Morton wrote: On Fri, 23 Oct 2009 21:28:17 -0200 Thadeu Lima de Souza Cascardo casca...@holoscopio.com wrote: The current dynamic allocation of minor number for misc devices

[Cluster-devel] GFS2: Clean up recovery code

2009-11-10 Thread Steven Whitehouse
The following patch cleans up the recovery code and fixes a few bugs along the way. The bugs are: o An incorrect assumption about the size of the journal o An issue where the superblock was being used to store variables local to the recovery process which would cause a problem if multiple

[Cluster-devel] [PATCH] GFS2: drop rindex glock to refresh rindex list

2009-11-10 Thread Benjamin Marzinski
When a gfs2 filesystem is grown, it needs to rebuild the rindex list to be able to use the new space. gfs2 does this when the rindex is marked not uptodate, which happens when the rindex glock is dropped. However, on a single node setup, there is never any reason to drop the rindex glock, so