Displaying 2 results from an estimated 2 matches for "ocfs2_evict_inode".
2010 Aug 20
0
[PATCH] ocfs2: Don't delete orphaned files if we are in the process of umount.
...it until orphan
scan to finish).
So this patch just try to finish the orphan scan quickly.
In general when umount starts, we will set a flag(Jan has added one
named OCFS2_OSB_DROP_DENTRY_LOCK_IMMED which is set in kill_sb, I
renamed it to OCFS2_OSB_UMOUNT_START so that we all can use it),
and when ocfs2_evict_inode finds this flag, it will skip the process
of ocfs2_delete_inode if the file is from orphan dir. We are safe to
skip the delete process since it is in orphan dir, so it will be
deleted eventually by other orphan scan, next mount or fsck.
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/oc...
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