search for: ocfs2_lockid

Displaying 20 results from an estimated 28 matches for "ocfs2_lockid".

2009 Apr 10
1
[PATCH 1/1] OCFS2: add NFS Sync lock type string.
...k type string for NFS Sync lock is missing from the last patch http://oss.oracle.com/pipermail/ocfs2-devel/2009-March/004117.html This patch is to add the lock type string. This patch also applies to 1.4 git. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- diff --git a/fs/ocfs2/ocfs2_lockid.h b/fs/ocfs2/ocfs2_lockid.h index a53ce87..e95cc7b 100644 --- a/fs/ocfs2/ocfs2_lockid.h +++ b/fs/ocfs2/ocfs2_lockid.h @@ -104,6 +104,7 @@ static char *ocfs2_lock_type_strings[] = { [OCFS2_LOCK_TYPE_OPEN] = "Open", [OCFS2_LOCK_TYPE_FLOCK] = "Flock", [OCFS2_LOCK_TYPE_QINFO]...
2008 Oct 23
2
[PATCH 1/1] OCFS2: fix for nfs getting stale inode.
...ent block under deleting goes to. Signed-off-by: Wengang wang <wen.gang.wang at oracle.com> -- dlmglue.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- dlmglue.h | 6 +++ export.c | 8 ++++ inode.c | 17 ++++++++ ocfs2.h | 7 +++ ocfs2_lockid.h | 4 ++ 6 files changed, 152 insertions(+), 3 deletions(-) Index: fs/ocfs2/dlmglue.h =================================================================== --- fs/ocfs2/dlmglue.h (revision 3101) +++ fs/ocfs2/dlmglue.h (working copy) @@ -79,6 +79,12 @@ void ocfs2_super_unlock(struct ocfs2_sup...
2009 Jun 04
3
Patches that adds delayed orphan scan timer (rev 3)
Resending after implementing review comments.
2009 Jun 02
3
Patches that adds delayed orphan scan timer (rev 2)
Resending after implementing review comments.
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
...eda <srinivas.eeda at oracle.com> --- fs/ocfs2/dlmglue.c | 58 +++++++++++++++++++++++++ fs/ocfs2/dlmglue.h | 8 +++ fs/ocfs2/journal.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++ fs/ocfs2/journal.h | 12 +++++ fs/ocfs2/ocfs2.h | 2 + fs/ocfs2/ocfs2_lockid.h | 5 ++ fs/ocfs2/super.c | 11 +++++ 7 files changed, 205 insertions(+), 0 deletions(-) diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index e15fc7d..ed234c8 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c @@ -248,6 +248,10 @@ static struct ocfs2_lock_res_ops ocfs2_nfs...
2009 Mar 06
0
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6.3)
...can run concurrently in normal case. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 46 +++++++++++++++++ dlmglue.h | 2 export.c | 74 ++++++++++++++++++++++++--- inode.c | 24 ++++++++ inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 + suballoc.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ suballoc.h | 2 9 files changed, 299 insertions(+), 8 deletions(-) diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 206a237..740b19b 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c...
2009 Mar 03
3
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6)
...an run concurrently in normal case. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 45 ++++++++++++++++ dlmglue.h | 2 export.c | 77 ++++++++++++++++++++++++++--- inode.c | 24 ++++++++- inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 + suballoc.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ suballoc.h | 2 9 files changed, 298 insertions(+), 9 deletions(-) Index: export.c =================================================================== --- export.c (revision 139) +++ export.c (workin...
2009 Jun 04
2
Backport that adds delayed orphan scan timer to 1.4
Next two patches are backport of orphan scan timer patches to ocfs2-1.4
2009 Feb 17
1
[PATCH 1/1] OCFS2: anti stale inode for nfs (V3)
...gned-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 45 +++++++++++++++++++++++ dlmglue.h | 2 + export.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++------ inode.c | 23 +++++++++++ inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 ++ suballoc.c | 75 ++++++++++++++++++++++++++++++++++++++ suballoc.h | 7 +++ 9 files changed, 258 insertions(+), 11 deletions(-) Index: fs/ocfs2/export.c =================================================================== --- fs/ocfs2/export.c (revision 128) +++ fs/ocfs2/ex...
2008 Apr 21
1
[2.6 patch] ocfs2/dlm/dlmdebug.c: make 2 functions static
...f, int len); +static int stringify_lockname(const char *lockname, int locklen, char *buf, + int len); void dlm_print_one_lock_resource(struct dlm_lock_resource *res) { @@ -251,7 +252,8 @@ EXPORT_SYMBOL_GPL(dlm_errname); * * For more on lockname formats, please refer to dlmglue.c and ocfs2_lockid.h. */ -int stringify_lockname(const char *lockname, int locklen, char *buf, int len) +static int stringify_lockname(const char *lockname, int locklen, char *buf, + int len) { int out = 0; __be64 inode_blkno_be; @@ -368,7 +370,7 @@ static void dlm_debug_free(struct kref *kref) kfree...
2009 Mar 06
2
[PATCH 1/1] OCFS2: anti stale inode for nfs (for 1.4git)
...can run concurrently in normal case. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 45 ++++++++++++++++ dlmglue.h | 2 export.c | 79 +++++++++++++++++++++++++--- inode.c | 25 ++++++++- inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 + suballoc.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ suballoc.h | 2 9 files changed, 305 insertions(+), 11 deletions(-) diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 7eceb0a..5327bb9 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue....
2009 Mar 05
0
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6.2)
...05,7 @@ struct ocfs2_super struct ocfs2_cluster_connection *cconn; struct ocfs2_lock_res osb_super_lockres; struct ocfs2_lock_res osb_rename_lockres; + struct ocfs2_lock_res osb_nfs_sync_lockres; struct ocfs2_dlm_debug *osb_dlm_debug; struct dentry *osb_debug_root; diff --git a/fs/ocfs2/ocfs2_lockid.h b/fs/ocfs2/ocfs2_lockid.h index eb6f50c..a53ce87 100644 --- a/fs/ocfs2/ocfs2_lockid.h +++ b/fs/ocfs2/ocfs2_lockid.h @@ -47,6 +47,7 @@ enum ocfs2_lock_type { OCFS2_LOCK_TYPE_OPEN, OCFS2_LOCK_TYPE_FLOCK, OCFS2_LOCK_TYPE_QINFO, + OCFS2_LOCK_TYPE_NFS_SYNC, OCFS2_NUM_LOCK_TYPES }; @@ -81,6...
2009 Feb 27
2
[PATCH 1/1] OCFS2: anti stale inode for nfs (V5)
...r() instead of diry reading the group. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 45 ++++++++++++++++ dlmglue.h | 2 export.c | 77 +++++++++++++++++++++++++-- inode.c | 24 ++++++++ inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 + suballoc.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ suballoc.h | 2 9 files changed, 304 insertions(+), 9 deletions(-) Index: dlmglue.h =================================================================== --- dlmglue.h (revision 139) +++ dlmglue.h (wor...
2009 Jun 18
8
Patches backported from mainline
All, Please review the patches backported to 1.4 from mainline. Sunil
2009 Feb 20
3
[PATCH 1/1] OCFS2: anti stale inode for nfs (V4)
...3, add inode alloc slot validation. Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- dlmglue.c | 45 +++++++++++++++++ dlmglue.h | 2 export.c | 75 +++++++++++++++++++++++++--- inode.c | 24 ++++++++- inode.h | 1 ocfs2.h | 1 ocfs2_lockid.h | 4 + suballoc.c | 150 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ suballoc.h | 2 9 files changed, 295 insertions(+), 9 deletions(-) Index: dlmglue.h =================================================================== --- dlmglue.h (revision 139) +++ dlmglue.h (wor...
2009 Jun 16
0
[GIT PULL] ocfs2 updates for 2.6.31
...| 21 +++--- fs/ocfs2/dlmglue.c | 51 ++++++++++++ fs/ocfs2/dlmglue.h | 11 +++ fs/ocfs2/file.c | 56 ++++++++------ fs/ocfs2/journal.c | 111 ++++++++++++++++++++++++++ fs/ocfs2/journal.h | 4 + fs/ocfs2/ocfs2.h | 16 ++++ fs/ocfs2/ocfs2_lockid.h | 5 + fs/ocfs2/quota_global.c | 4 +- fs/ocfs2/quota_local.c | 21 ++++-- fs/ocfs2/super.c | 66 ++++++++++++---- fs/ocfs2/xattr.c | 5 +- 17 files changed, 610 insertions(+), 96 deletions(-) -- Life's Little Instruction Book #99 "Think bi...
2008 Jan 25
0
[git patches] ocfs2 and configfs updates
...fs/ocfs2/locks.c | 125 ++++++ fs/ocfs2/{vote.h => locks.h} | 29 +- fs/ocfs2/mmap.c | 17 +- fs/ocfs2/namei.c | 66 ++-- fs/ocfs2/ocfs2.h | 35 +- fs/ocfs2/ocfs2_fs.h | 22 + fs/ocfs2/ocfs2_lockid.h | 5 + fs/ocfs2/resize.c | 634 +++++++++++++++++++++++++++++ fs/ocfs2/{vote.h => resize.h} | 32 +-- fs/ocfs2/slot_map.c | 19 - fs/ocfs2/slot_map.h | 2 - fs/ocfs2/suballoc.c | 20 +- fs/ocfs2/su...
2009 Jan 06
1
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...fs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats); /* * Hamming code functions diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index ad5c24a..ba37433 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h @@ -47,6 +47,9 @@ #include "ocfs2_fs.h" #include "ocfs2_lockid.h" +/* For struct ocfs2_blockcheck_stats */ +#include "blockcheck.h" + /* Most user visible OCFS2 inodes will have very few pieces of * metadata, but larger files (including bitmaps, etc) must be taken * into account when designing an access scheme. We allow a small @@ -297,6...
2008 Oct 24
19
[PATCH 00/00] Implement quotas for OCFS2 (version 2)
Hello, the following patch series implements quotas for OCFS2. The patch series is based on: git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git linux-next I've adressed Joel's comments, also node recovery is now fully working and I've fixed a few issues I found during my testing. So I'm currently not aware of any bugs. Please review, test, comment. Thanks.