[Ocfs2-devel] [PATCH 1/1] Fix an endian bug in online resize.

2008-03-02 Thread Tao Ma
In ocfs2_group_add, 'cr' is of type 'ocfs2_chain_rec', so here is a endian bug. Fix it. Signed-off-by: Tao Ma <[EMAIL PROTECTED]> --- fs/ocfs2/resize.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/resize.c b/fs/ocfs2/resize.c index 37835ff..8166968 100644 ---

Re: [Ocfs2-devel] [PATCH 6/6] ocfs2/dlm: dlm_thread should not sleep while holding the dlm_spinlock

2008-03-02 Thread Joel Becker
On Sat, Mar 01, 2008 at 02:04:25PM -0800, Sunil Mushran wrote: > This patch addresses the bug in which the dlm_thread could go to sleep > while holding the dlm_spinlock. > > Signed-off-by: Sunil Mushran <[EMAIL PROTECTED]> Signed-off-by: Joel Becker <[EMAIL PROTECTED]> > --- > fs/ocfs2/dlm/dlmth

Re: [Ocfs2-devel] [PATCH 4/6] ocfs2/dlm: Move struct dlm_master_list_entry to dlmcommon.h

2008-03-02 Thread Joel Becker
On Sat, Mar 01, 2008 at 02:04:23PM -0800, Sunil Mushran wrote: > This patch moves some mle related definitions from dlmmaster.c > to dlmcommon.h. > > Signed-off-by: Sunil Mushran <[EMAIL PROTECTED]> Signed-off-by: Joel Becker <[EMAIL PROTECTED]> Why is this patch in the bugfix series rat

Re: [Ocfs2-devel] [PATCH 3/6] ocfs2/dlm: Add missing dlm_lockres_put()s

2008-03-02 Thread Joel Becker
On Sat, Mar 01, 2008 at 02:04:22PM -0800, Sunil Mushran wrote: > dlm_master_request_handler() forgot to put a lockres when > dlm_assert_master_worker() failed or was skipped. > > Signed-off-by: Sunil Mushran <[EMAIL PROTECTED]> Signed-off-by: Joel Becker <[EMAIL PROTECTED]> > --- > fs/ocfs2/dlm/

Re: [Ocfs2-devel] [PATCH 2/6] ocfs2/dlm: Add missing dlm_lockres_put()s in migration path

2008-03-02 Thread Joel Becker
On Sat, Mar 01, 2008 at 02:04:21PM -0800, Sunil Mushran wrote: > During migration, the recovery master node may be asked to master a lockres > it may not know about. In that case, it would not only have to create a > lockres and add it to the hash, but also remember to to do the _put_ > correspondi

Re: [Ocfs2-devel] [PATCH 1/6] ocfs2/dlm: Add missing dlm_lock_put()s

2008-03-02 Thread Joel Becker
On Sat, Mar 01, 2008 at 02:04:20PM -0800, Sunil Mushran wrote: > Normally locks for remote nodes are freed when that node sends an UNLOCK > message to the master. The master node tags an DLM_UNLOCK_FREE_LOCK action > to do an extra put on the lock at the end. > > However, there are times when the