Displaying 5 results from an estimated 5 matches for "dentry_attach_lock".
2009 Apr 21
1
[PATCH 1/1] ocfs2: Add missing iput() during error handling in ocfs2_dentry_attach_lock()
In ocfs2_dentry_attach_lock(), if unable to get the dentry lock(), we need to
call iput(inode) because a failure here means no d_instantiate(), which means
the normally matching iput() will not be called during dput(dentry).
This patch fixes the oops that accompanies the following message:
(3996,1):dlm_empty_lockres:2708 ERR...
2009 May 04
2
[PATCH 1/3] ocfs2: Add missing iput() during error handling in ocfs2_dentry_attach_lock()
Mainline commit a5a0a630922a2f6a774b6dac19f70cb5abd86bb0
In ocfs2_dentry_attach_lock(), if unable to get the dentry lock, we need to
call iput(inode) because a failure here means no d_instantiate(), which means
the normally matching iput() will not be called during dput(dentry).
This patch fixes the oops that accompanies the following message:
(3996,1):dlm_empty_lockres:2708 ERROR...
2009 May 01
1
[GIT PULL] ocfs2 fixes
...ernel/jlbec/ocfs2.git upstream-linus
Joel Becker (3):
ocfs2: Fix some printk() warnings.
ocfs2: Fix a missing credit when deleting from indexed directories.
ocfs2: Change repository in MAINTAINERS.
Sunil Mushran (1):
ocfs2: Add missing iput() during error handling in ocfs2_dentry_attach_lock()
Tao Ma (3):
ocfs2: Reserve 1 more cluster in expanding_inline_dir for indexed dir.
ocfs2: Fix 2 warning during ocfs2 make.
ocfs2/trivial: Remove unused variable in ocfs2_rename.
MAINTAINERS | 2 +-
fs/ocfs2/dcache.c | 15 +++++++++++++++
fs/ocfs2/dir.c |...
2011 Dec 20
8
ocfs2 - Kernel panic on many write/read from both
Sorry i don`t copy everything:
TEST-MAIL1# echo "ls //orphan_dir:0000"|debugfs.ocfs2 /dev/dm-0|wc
debugfs.ocfs2 1.6.4
5239722 26198604 246266859
TEST-MAIL1# echo "ls //orphan_dir:0001"|debugfs.ocfs2 /dev/dm-0|wc
debugfs.ocfs2 1.6.4
6074335 30371669 285493670
TEST-MAIL2 ~ # echo "ls //orphan_dir:0000"|debugfs.ocfs2 /dev/dm-0|wc
debugfs.ocfs2 1.6.4
5239722 26198604
2009 Jul 20
1
[PATCH] ocfs2: flush dentry lock drop when sync ocfs2 volume.
...cks */
void ocfs2_drop_dl_inodes(struct work_struct *work)
{
diff --git a/fs/ocfs2/dcache.h b/fs/ocfs2/dcache.h
index faa12e7..6dcf7cd 100644
--- a/fs/ocfs2/dcache.h
+++ b/fs/ocfs2/dcache.h
@@ -62,4 +62,5 @@ void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target,
extern spinlock_t dentry_attach_lock;
+void ocfs2_flush_dl_inode_drop(struct ocfs2_super *osb);
#endif /* OCFS2_DCACHE_H */
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 2b4fd69..7e80fda 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -384,6 +384,13 @@ static int ocfs2_sync_fs(struct super_block *sb, int wait)
if...