Re: [PATCH] fs: Introducing Lanyard Filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 19/08/2012 18:53, Dan Luedtke ha scritto:
On Sun, 2012-08-19 at 15:27 +0100, Al Viro wrote:
	* unlimited recursion
I am already working on that one, but it's tricky.

	* unlink() does *not* truncate the file contents;
I did not know that.

I add that vmtruncate is deprecated and I see a call to inode_dio_wait but no support for direct IO. In addition the lock rules seem strange, I would avoid playing with inode->i_lock.


	* while we are at it, neither of those should free the on-disk
inode; again, that should happen only when the inode is evicted.
Makes sense now. Thanks!

And I think you'll call d_delete two times.

As general suggestion: to have a general view how things can work you can look at other fs. Maybe ramfs or tmpfs are simple enough to understand the general concepts.

Marco

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux