commit 81f2094a631df1ba275f4d4bd7ea5bacfd8dbcfc Author: Mark Fasheh Date: Tue Feb 28 17:31:22 2006 -0800 [PATCH] ocfs2: use hlists for lockres hash Switch from list_head to hlist_head. Make the size of the hash dependent upon the allocated area, rather than a constant. Signed-off-by: Mark Fasheh commit b7668c72d2ae004363fb0588600bfa942e1b245c Author: Sunil Mushran Date: Tue Feb 28 23:28:01 2006 -0800 [PATCH] ocfs2: added source addr to bind() in o2net_start_connect() to prevent confusion when a virtual ip is created on the same interface Signed-off-by: Sunil Mushran Signed-off-by: Mark Fasheh commit 110ba90858a7f619ff26c6b9b43c27b3c0872335 Author: Joel Becker Date: Tue Feb 28 17:58:36 2006 -0800 ocfs2: Respond to on-disk corruption in the extent map code. The extent map code has long noticed when the on-disk extent information is corrupt. However, so far it has only returned an error. We should take the filesystem read-only, as it is corrupt. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 93cc9ac4555a9b95c78b2f5dfe536fe8196002a7 Author: Joel Becker Date: Mon Feb 27 16:53:05 2006 -0800 ocfs2: Set .owner on masklog sysfs attributes. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit b4df6ed8db0c387d38292e31f00adc4cd297ed5a Author: Mark Fasheh Date: Wed Feb 22 17:35:08 2006 -0800 [PATCH] ocfs2: fix orphan recovery deadlock Orphan dir recovery can deadlock with another process in ocfs2_delete_inode() in some corner cases. Fix this by tracking recovery state more closely and allowing it to handle inode wipes which might deadlock. Signed-off-by: Mark Fasheh commit 895928b8380cc697ac56e9732cedf549c0a4f79c Author: Jeff Mahoney Date: Tue Feb 21 16:54:00 2006 -0800 [PATCH] ocfs2: complete failure recovery for nodemanager init This patch finishes cleaning up the node manager allocations if it fails to initialize. Signed-off-by: Jeff Mahoney Signed-off-by: Mark Fasheh commit 362342f68e331f080d0438f08af1e2c570b0b5fe Author: Mark Fasheh Date: Tue Feb 21 16:46:33 2006 -0800 [PATCH] ocfs2: remove non existing function prototypes Remove some prototypes from tcp.h for functions which have long been gone. Signed-off-by: Mark Fasheh commit d267a56c883b350a2fa80f1daf4636809e3f8e67 Author: Mark Fasheh Date: Thu Feb 23 13:23:39 2006 -0800 [PATCH] ocfs2: remove unused code Remove some #ifdef'd out code which was inadvertantly introduced in our initial merge. Signed-off-by: Mark Fasheh commit d3178bcdd41b050e221337d7f5e30b3c58d4015a Author: Mark Fasheh Date: Fri Feb 24 17:23:36 2006 -0800 [PATCH] ocfs2: remove pointless max journal size limit Signed-off-by: Mark Fasheh commit 6b7a6c94c9c15b2664b568ead83e6b3aaf60d65c Author: Jeff Mahoney Date: Tue Feb 21 11:57:30 2006 -0500 [PATCH] ocfs2: fix -Wformat warnings when building UML on x86-64 The check to determine which format string is appopriate for u64 and friends works in most cases, but UML on x86_64 doesn't define CONFIG_X86_64, so it results in screen fulls of compile-time warnings. This patch fixes it to handle that case. fs/ocfs2/cluster/masklog.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Mahoney Signed-off-by: Mark Fasheh commit f671c09bce88ea253d576c842f8f39d9a2a29028 Author: Kurt Hackel Date: Tue Feb 14 11:45:21 2006 -0800 [PATCH] ocfs2: detach from heartbeat events before freeing mle Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 745ae8ba29e729ec922393fa4d9448c385673599 Author: Mark Fasheh Date: Thu Feb 9 13:23:39 2006 -0800 [PATCH] ocfs2: only checkpoint journal when asked to Disable automatic checkpointing of the journal - this is a relic from older ocfs2 days. Worth quite a bit of performance on longer running single node tests. Signed-off-by: Mark Fasheh commit 558c70c59b75a5a53ba496fe3bccea80a9e3e6fb Author: Kurt Hackel Date: Wed Jan 18 17:07:47 2006 -0800 [PATCH] ocfs2: manually grant remote recovery lock * fix a hang in recovery that occurred in dlmlock_remote. the $RECOVERY lock was never moved to the granted queue even after getting DLM_NORMAL back from the master node. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 44465a7daf7c4e34199b2b0ebb3c5101619dcb9d Author: Kurt Hackel Date: Wed Jan 18 17:05:38 2006 -0800 [PATCH] ocfs2: add dlm_wait_for_node_death * add dlm_wait_for_node_death function to be used after receiving a network error. this will wait for the given timeout to allow the heartbeat callbacks to update the domain map. without this, some paths may spin and consume enough cpu that the heartbeat gets starved and never updates. Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit e2b5e4506f5c5187b91d7a79fbad28fe3ebd2fc5 Author: Kurt Hackel Date: Wed Jan 18 17:02:56 2006 -0800 [PATCH] ocfs2: fix release of ast never reserved * fix a bug in dlm_convert_lock_handler where dlm_lockres_release_ast was being called even if no ast was ever reserved Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 898efface1a5076cbae5af87b935212b1869971b Author: Kurt Hackel Date: Wed Jan 18 17:01:25 2006 -0800 [PATCH] ocfs2: recheck recovery state after getting lock * after successfully taking the $RECOVERY lock in EX mode, recheck to make sure that recovery has not already begun or completed on another node Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 6eff5790d57a5c9c01489c95946881808a4b2a2c Author: Mark Fasheh Date: Wed Jan 18 10:31:47 2006 -0800 [PATCH] ocfs2: don't wait on recovery when locking journal The mount path had incorrectly asked the locking code to wait for recovery completion, which deadlocks things because recovery waits for mount to complete first. Signed-off-by: Mark Fasheh commit 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a Author: Mark Fasheh Date: Wed Feb 1 16:42:10 2006 -0800 [PATCH] ocfs2: fix compile warnings Fix a couple of compile warnings found when compiling on a ppc64 build box. Signed-off-by: Mark Fasheh commit ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187 Author: Eric Sesterhenn / snakebyte Date: Fri Jan 27 10:32:52 2006 +0100 [PATCH] BUG_ON() Conversion in fs/ocfs2/ this changes if() BUG(); constructs to BUG_ON() which is cleaner, contains unlikely() and can better optimized away. Signed-off-by: Eric Sesterhenn Signed-off-by: Mark Fasheh commit b4c7f538508adcde7a0a5162faec0b2ab19b90bd Author: Adrian Bunk Date: Sat Jan 14 20:55:10 2006 +0100 [PATCH] fs/ocfs2/dlm/dlmrecovery.c must #include fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore need to #include for getting the prototype of this function. Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit c74ec2f77a7763a4a56c6cb13ecab961e1bbb456 Author: Arjan van de Ven Date: Fri Jan 13 21:54:23 2006 -0800 [PATCH] ocfs2: Semaphore to mutex conversion. Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Mark Fasheh commit e2faea4ce340f199c1957986c4c3dc2de76f5746 Author: Kurt Hackel Date: Thu Jan 12 14:24:55 2006 -0800 [PATCH] ocfs2/dlm: fixes * fix a hang which can occur during shutdown migration * do not allow nodes to join during recovery * when restarting lock mastery, do not ignore nodes which come up * more than one node could become recovery master, fix this * sleep to allow some time for heartbeat state to catch up to network * extra debug info for bad recovery state problems * make DLM_RECO_NODE_DATA_DONE a valid state for non-master recovery nodes * prune all locks from dead nodes on $RECOVERY lock resources * do NOT automatically add new nodes to mle nodemaps until they have properly joined the domain * make sure dlm_pick_recovery_master only exits when all nodes have synced * properly handle dlmunlock errors in dlm_pick_recovery_master * do not propagate network errors in dlm_send_begin_reco_message * dead nodes were not being put in the recovery map sometimes, fix this * dlmunlock was failing to clear the unlock actions on DLM_DENIED Signed-off-by: Kurt Hackel Signed-off-by: Mark Fasheh commit 251b6eccbeff4f0f8a3509769b327705e899f5dd Author: Mark Fasheh Date: Tue Jan 10 15:41:43 2006 -0800 [OCFS2] Make ip_io_sem a mutex ip_io_sem is now ip_io_mutex. Signed-off-by: Mark Fasheh commit aee93ac4b7ad461255939248d0d51566cff77e05 Author: Jeff Mahoney Date: Mon Jan 9 12:36:40 2006 -0500 [PATCH] ocfs2/dlm: fix compilation on ia64 Including results in compilation failure on ia64 due to not including Including corrects the problem. Please apply. Signed-off-by: Jeff Mahoney Signed-off-by: Mark Fasheh commit 0c6c98fb187524935a93fdd4f9a7193e7b110782 Author: Adrian Bunk Date: Sat Jan 7 20:07:02 2006 +0100 [PATCH] OCFS2: __init / __exit problem Functions called by __init funtions mustn't be __exit. Reported by Jan-Benedict Glaw . Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit 16f7e0fe2ecc30f30652e8185e1772cdebe39109 Author: Randy Dunlap Date: Wed Jan 11 12:17:46 2006 -0800 [PATCH] capable/capability.h (fs/) fs: Use where capable() is used. Signed-off-by: Randy Dunlap Acked-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 870f481793b585323fbda3e87c54efc116f46351 Author: Christoph Hellwig Date: Mon Jan 9 20:52:01 2006 -0800 [PATCH] replace inode_update_time with file_update_time To allow various options to work per-mount instead of per-sb we need a struct vfsmount when updating ctime and mtime. This preparation patch replaces the inode_update_time routine with a file_update_atime routine so we can easily get at the vfsmount. (and the file makes more sense in this context anyway). Also get rid of the unused second argument - we always want to update the ctime when calling this routine. Signed-off-by: Christoph Hellwig Cc: Al Viro Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7892f2f48d165a34b0b8130c8a195dfd807b8cb6 Author: Ingo Molnar Date: Mon Jan 9 15:59:25 2006 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, sb->s_lock This patch converts the superblock-lock semaphore to a mutex, affecting lock_super()/unlock_super(). Tested on ext3 and XFS. Signed-off-by: Ingo Molnar commit 1b1dcc1b57a49136f118a0f16367256ff9994a69 Author: Jes Sorensen Date: Mon Jan 9 15:59:24 2006 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem This patch converts the inode semaphore to a mutex. I have tested it on XFS and compiled as much as one can consider on an ia64. Anyway your luck with it might be different. Modified-by: Ingo Molnar (finished the conversion) Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar commit a1365647022eb05a5993f270a78e9bef3bf554eb Author: Andrew Morton Date: Sun Jan 8 01:04:09 2006 -0800 [PATCH] remove gcc-2 checks Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82353b594c784deabb8d9764b477e65c2b3726f9 Author: Adrian Bunk Date: Mon Dec 19 11:16:07 2005 -0800 [PATCH] This patch contains the following cleanups: - cluster/sys.c: make needlessly global code static - dlm/: "extern" declarations for variables belong into header files (and in this case, they are already in dlmdomain.h) Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit ccd979bdbce9fba8412beb3f1de68a9d0171b12c Author: Mark Fasheh Date: Thu Dec 15 14:31:24 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem The OCFS2 file system module. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 Author: Mark Fasheh Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem dlmfs: A minimal dlm userspace interface implemented via a virtual file system. Most of the OCFS2 tools make use of this to take cluster locks when doing operations on the file system. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 6714d8e86bf443f6f7af50f9d432025649f091f5 Author: Kurt Hackel Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A distributed lock manager built with the cluster file system use case in mind. The OCFS2 dlm exposes a VMS style API, though things have been simplified internally. The only lock levels implemented currently are NLMODE, PRMODE and EXMODE. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 98211489d4147e41b11703e4245846d60b3acce4 Author: Zach Brown Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Node messaging via tcp. Used by the dlm and the file system for point to point communication between nodes. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit a7f6a5fb4bde142b622706e2006ba33f793e13ed Author: Mark Fasheh Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Disk based heartbeat. Configured and started from userspace, the kernel component handles I/O submission and event generation via callback mechanism. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 0c83ed8eeb28a045cdbd0b216679938aa9e665fe Author: Kurt Hackel Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A simple node information service, filled and updated from userspace. The rest of the stack queries this service for simple node information. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 52fd3d6fea441835fe3a35b7280e5e128bdeca9b Author: Zach Brown Date: Thu Dec 15 14:31:23 2005 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Very simple printk wrapper which adds the ability to enable various sets of debug messages at run-time. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel