Re: [RFC 0/7] [RFC] cramfs: fake write support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Monday, June 2, 2008 - 12:12 am

On Monday 02 June 2008, hooanon05@yahoo.co.jp wrote:

Sure, and I wasn't trying to address those of course. I have a rather
specific setup in mind myself, and I figured the same would be useful
for others as well, while we are waiting for a generic union mount
implementation in the mainline kernel.


Ok, I'm sorry for not having looked at it myself. I saw an older version
and assumed it was not going to improve much. I'll have another look
when I find the time. Unionfs was suffering from severe feature creep
(multiple writable branches, runtime branch modification), and aufs
seemed to add even more features instead of removing them.

Without reading either again, the top problems in unionfs at the time were:
* data inconsistency problems when simultaneously accessing the underlying
  fs and the union.
* duplication of dentry and inode data structures in the union wastes
  memory and cpu cycles.
* whiteouts are in the same namespace as regular files, so conflicts are
  possible.
* mounting a large number of aufs on top of each other eventually
  overflows the kernel stack, e.g. in readdir.
* allowing multiple writable branches (instead of just stacking
  one rw copy on a number of ro file systems) is confusing to the user
  and complicates the implementation a lot.

With the exception of the last two, I assumed that these were all
unfixable with a file system based approach (including the hypothetical
union-tmpfs). If you have addressed them, how?

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 0/7] [RFC] cramfs: fake write support, arnd, (Sat May 31, 8:37 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, David Newall, (Sat May 31, 11:56 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Sat May 31, 1:40 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Phillip Lougher, (Sat May 31, 8:19 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Phillip Lougher, (Sat May 31, 8:54 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, David Newall, (Sat May 31, 11:02 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Sun Jun 1, 1:52 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Jan Engelhardt, (Sun Jun 1, 2:11 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Jamie Lokier, (Sun Jun 1, 5:28 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Sun Jun 1, 2:49 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support , hooanon05, (Sun Jun 1, 7:48 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Erez Zadok, (Sun Jun 1, 8:25 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Erez Zadok, (Sun Jun 1, 8:51 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Erez Zadok, (Sun Jun 1, 9:37 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Bharata B Rao, (Sun Jun 1, 11:07 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 12:12 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Jan Engelhardt, (Mon Jun 2, 12:17 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 12:51 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , hooanon05, (Mon Jun 2, 3:36 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Jamie Lokier, (Mon Jun 2, 4:07 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 4:15 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , hooanon05, (Mon Jun 2, 5:56 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 7:13 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , hooanon05, (Mon Jun 2, 7:33 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Evgeniy Polyakov, (Mon Jun 2, 7:54 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 8:01 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Erez Zadok, (Mon Jun 2, 8:35 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Arnd Bergmann, (Mon Jun 2, 10:42 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support , Erez Zadok, (Mon Jun 2, 11:13 am)
Re: [RFC 0/7] [RFC] cramfs: fake write support, Phillip Lougher, (Mon Jun 2, 7:02 pm)
Re: [RFC 0/7] [RFC] cramfs: fake write support , hooanon05, (Tue Jun 3, 4:04 am)