linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. R. Okajima" <hooanon05g@gmail.com>
To: Saket Sinha <saket.sinha89@gmail.com>
Cc: Jan Kara <jack@suse.cz>,
	linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
	lsf-pc@lists.linux-foundation.org
Subject: Re: [LSF/MM ATTEND] Stackable Union Filesystem Implementation
Date: Thu, 09 Jan 2014 23:17:51 +0900	[thread overview]
Message-ID: <8411.1389277071@jrobl> (raw)
In-Reply-To: <CAK25hWNTmn=NL9exT1kG9D4ya=hzXWSZUiOj8iYjEfrf_yNTEQ@mail.gmail.com>


Saket,
Thanks for explanation.

Saket Sinha:
> What I am referring here is the topic  <storing metadata in multiple
> places vs  "block device level union">. See DM operates on block
> device/sector, but a stackable =EF=AC=81lesystem operates on =EF=AC=81lesys=
> tem/=EF=AC=81le. My
> point is this that which is the better approach according to the
> kernel maintainers, so that this concept of Unioning gets universally
> accepted and we have a mainline kernel union filesystem.

While I don't know who prefers which approach, generally speaking, if
you get what you want by an existing technology, it must be better to
use it.
Your ".me." approach will surely reduce the consumed blocks in the upper
layer, but it of course contains a new overhead to maintain the
information stored in ".me.".
Additionally, as a result of ".me." approach, the upper layer will
have info as not an ordinary file. I mean, fileA exists on the lower
layer, but its metadata exists on the upper layer. So if a user
(regardless within union or out of union) wants a complete fileA, then
he has to get info from two places and merge them. Such situation looks
similar to "block device level union".

Currently it is unclear which evolution way hepunion will take, but if
you want
- filesystem-type union (instead of mount-type union nor block device
  level union)
- and name-based union (insated of inode-based union)
then the approach is similar to overlayfs's.
So it might be better to make overlayfs as the base of your development.
If supporting NFS branch (or exporting hepunion) is important for you,
then the inode-based solution will be necessary.


J. R. Okajima

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2014-01-09 14:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 10:34 [LSF/MM ATTEND] Stackable Union Filesystem Implementation Saket Sinha
2014-01-07 12:23 ` Jan Kara
2014-01-07 20:04   ` Saket Sinha
2014-01-08  5:10     ` J. R. Okajima
2014-01-08 18:06       ` Saket Sinha
2014-01-09  7:32         ` J. R. Okajima
2014-01-09  9:19           ` Saket Sinha
2014-01-09 14:17             ` J. R. Okajima [this message]
2014-01-11 17:21               ` Saket Sinha
2014-01-08 11:16     ` Jan Kara
2014-01-08 18:26       ` Saket Sinha
2014-01-08 21:26         ` Jan Kara
2014-01-09 10:06           ` Saket Sinha
2014-01-07 16:52 ` J. R. Okajima
2014-01-07 20:21   ` Saket Sinha
  -- strict thread matches above, loose matches on Subject: below --
2014-01-07 10:32 Saket Sinha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8411.1389277071@jrobl \
    --to=hooanon05g@gmail.com \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.org \
    --cc=saket.sinha89@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).