User: Password:
|
|
Subscribe / Log in / New account

A look inside the OCFS2 filesystem

A look inside the OCFS2 filesystem

Posted Sep 17, 2010 5:11 UTC (Fri) by kevinm (guest, #69913)
Parent article: A look inside the OCFS2 filesystem

I wonder why the special lock handling was needed for deleting - couldn't a node holding a file open just create a link to it in the // system file area? Then you can just have the normal "if you're removing the last link, delete it" behaviour.


(Log in to post comments)

A look inside the OCFS2 filesystem

Posted Sep 17, 2010 18:19 UTC (Fri) by sniper (guest, #13219) [Link]

How do you know that last link? The fs does not maintain a cluster-wise usage count. Too expensive. Also, one has to account for node crashes. What if the node that had the possible last link dies?


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds