a reflink would be a new type of inode
Posted May 7, 2009 10:12 UTC (Thu) by epa
In reply to: a reflink would be a new type of inode
Parent article: The two sides of reflink()
A reflink would be a new type of inode only in so far as the filesystem must track the fact that it has blocks shared with another inode. There is no difference, though, between an inode created by a reflink and the file's original inode; they both become reflink inodes.
Ah, so it is symmetric, somewhat like making a hard link with 'ln'.
If one of the two reflink inodes is then removed, does the other one revert back to being a normal file? If not, is there any difference between a lone reflink inode and a normal one? Couldn't all files be reflinks?
to post comments)