Re: [PATCH 14/38] fallthru: ext2 fallthru support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bodo Eggert
Date: Wednesday, August 18, 2010 - 4:24 pm

Miklos Szeredi <miklos@szeredi.hu> wrote:


Not knowing the details, I'd suggest to implement a generic function to
create an attributed inode and let the fs override it to create an
unlinked-file-dentry instead.

Benefit: All fs supporting extended attributes will be able to support
whiteout. If the fs has other means of supporting whiteout, they may fake
the attribute.

Possible problems:
- Having two ways of reporting a whiteout? Or can it be reported using a
  (static) fake inode?
- How do you un-whiteout while (not) having an overlaying fs?


Do a hardlink if you can create a hard link, otherwise use a fresh inode
and use that for the next hardlink(s).


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 14/38] fallthru: ext2 fallthru support, Bodo Eggert, (Wed Aug 18, 4:24 pm)
Re: [PATCH 14/38] fallthru: ext2 fallthru support, J. R. Okajima, (Wed Aug 18, 7:03 pm)
Re: [PATCH 14/38] fallthru: ext2 fallthru support, Valerie Aurora, (Tue Aug 24, 10:21 am)
Re: [PATCH 14/38] fallthru: ext2 fallthru support, Bodo Eggert, (Thu Aug 26, 2:53 am)