30 Jun, 2006
10 commits
-
Signed-off-by: Florin Malita
Signed-off-by: Mark Fasheh -
Get rid of osb->uuid, osb->proc_sub_dir, and osb->osb_id. Those fields were
unused, or could easily be removed. As a result, we also no longer need
MAX_OSB_ID or ocfs2_globals_lock.Signed-off-by: Mark Fasheh
-
ocfs2_initialize_super() should be copying from the beginning of the uuid.
Signed-off-by: Mark Fasheh
-
Signed-off-by: Mark Fasheh
-
Signed-off-by: Sunil Mushran
Signed-off-by: Mark Fasheh -
Signed-off-by: Sunil Mushran
Signed-off-by: Mark Fasheh -
Signed-off-by: Joel Becker
Signed-off-by: Mark Fasheh -
dlm_lockres_master_requery() became global without any external usage.
Signed-off-by: Adrian Bunk
Signed-off-by: Mark Fasheh -
Print a warning to the user when a node with a different dead count joins
the region.Signed-off-by: Mark Fasheh
-
Give gcc the chance to compile out the debug logging code in ocfs2.
This saves some size at the expense of being able to debug the code.Signed-off-by: Joel Becker
Signed-off-by: Mark Fasheh
29 Jun, 2006
1 commit
-
Same as with already do with the file operations: keep them in .rodata and
prevents people from doing runtime patching.Signed-off-by: Christoph Hellwig
Cc: Steven French
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Jun, 2006
2 commits
-
Remove redundant NULL checks before kfree for fs/
Signed-off-by: Jesper Juhl
Acked-by: Mark Fasheh
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
locking init cleanups:
- convert " = SPIN_LOCK_UNLOCKED" to spin_lock_init() or DEFINE_SPINLOCK()
- convert rwlocks in a similar mannerthis patch was generated automatically.
Motivation:
- cleanliness
- lockdep needs control of lock initialization, which the open-coded
variants do not give
- it's also useful for -rt and for lock debugging in generalSigned-off-by: Ingo Molnar
Signed-off-by: Arjan van de Ven
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
27 Jun, 2006
27 commits
-
This patch #if 0's the no longer used dlm_dump_lock_resources().
Since this makes dlmdebug.h empty, this patch also removes this header.
Additionally, the needlessly global dlm_is_node_recovered() is made
static.Signed-off-by: Adrian Bunk
Signed-off-by: Mark Fasheh -
We need to cast to unsigned long long.
Signed-off-by: Mark Fasheh
-
Fixes compile breakage.
Signed-off-by: Mark Fasheh
-
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
The work that is done can block for long periods of time and so is not
appropriate for keventd.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Use DLM_REJECTED instead of DLM_RECOVERING.
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Before checking for a nonexistent lock, make sure the lockres is not marked
RECOVERING. The caller will just retry and the state should be fixed up when
recovery completes.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
yield() does not yield. cond_resched() does.
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
We cannot restart recovery. Once we begin to recover a node, keep the state
of the recovery intact and follow through, regardless of any other node
deaths that may occur.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
If the previous master of the recovery lock dies, let calc_usage take it
down completely and let the caller completely redo the dlmlock() call.
Otherwise, there will never be an opportunity to re-master the lockres and
recovery wont be able to progress.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Use the existing structure for blocking migrations when ASTs are pending to
achieve the same result. If we can catch the assert before it goes on the
wire, just cancel it and let the migration continue.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Now we never change the owner of a lock resource until unmount or node
death. This will be re-enabled once some issues in the algorithm used have
been resolved.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
In dlmlock_remote(), do not call purge_lockres until the lock resource
actually changes. otherwise, the mastery info on the lockres will go away
underneath the caller.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
When mastering non-recovery lock resources, additional time was frequently
needed to allow the disk heartbeat to catch up with the network timeout. the
recovery lock resource is time critical and avoids this path.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Recovery will spin in dlm_pre_master_reco_lockres if we do not ignore
timed-out network responses from dead nodes.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Change behavior of dlm_restart_lock_mastery() when a node goes down. Dump
all responses that have been collected and start over.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
This is an error on the sending side, so gracefully error out on the
receiving end.Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh -
Signed-off-by: Kurt Hackel
Signed-off-by: Mark Fasheh