All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] What's the need of OCFS2_INODE_MAYBE_ORPHANED?
@ 2014-01-09  0:12 Goldwyn Rodrigues
  2014-01-09  1:29 ` Srinivas Eeda
  0 siblings, 1 reply; 14+ messages in thread
From: Goldwyn Rodrigues @ 2014-01-09  0:12 UTC (permalink / raw)
  To: ocfs2-devel

Hi,

From the comments in fs/ocfs2/inode.h:90 it seems, this was used in
legacy ocfs2 systems when a node received unlink votes. Since unlink
votes has been done away with and replaced with open locks, is this
flag still required? If yes, why?

From my ongoing investigation of unlink() times, it seems this flag is
causing the delay with releasing the open locks while downconverting
dentry locks. The flag is set  _everytime_ a dentry downconvert is
performed even if the file  is not scheduled to be deleted. If not, we
can be smartly evict the inodes which are *not* to be deleted
(i_nlink>0) by not offloading to ocfs2_wq. This way open lock will
release faster speeding up unlink on the deleting node.

-- 
Goldwyn

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-15 15:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09  0:12 [Ocfs2-devel] What's the need of OCFS2_INODE_MAYBE_ORPHANED? Goldwyn Rodrigues
2014-01-09  1:29 ` Srinivas Eeda
2014-01-09  3:12   ` Goldwyn Rodrigues
2014-01-09  5:30     ` Srinivas Eeda
2014-01-09 10:23       ` Joel Becker
2014-01-09 13:35         ` Goldwyn Rodrigues
2014-01-13 15:39           ` Joel Becker
2014-01-09 15:44       ` Goldwyn Rodrigues
2014-01-09 16:06         ` Srinivas Eeda
2014-01-09 16:34           ` Goldwyn Rodrigues
2014-01-09 17:04             ` Srinivas Eeda
2014-01-09 17:27               ` Goldwyn Rodrigues
2014-01-13 15:42                 ` Joel Becker
2014-01-15 15:35                   ` Goldwyn Rodrigues

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.