Linux NILFS development
 help / color / mirror / Atom feed
From: Reinoud Zandijk <reinoud-S783fYmB3Ccdnm+yROfE0A@public.gmane.org>
To: NILFS Users mailing list <users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
Subject: Re: directory entries
Date: Tue, 26 Aug 2008 15:29:44 +0200	[thread overview]
Message-ID: <20080826132944.GA17045@aardappel.13thmonkey.org> (raw)
In-Reply-To: <20080826.192942.104752679.ryusuke-sG5X7nlA6pw@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2552 bytes --]

Dear Ryusuke,

On Tue, Aug 26, 2008 at 07:29:42PM +0900, Ryusuke Konishi wrote:
> On Mon, 25 Aug 2008 17:52:44 +0200, Reinoud Zandijk wrote:
> > - writable snapshots
> > 
> > This sounds like a fun feature. Would you like to have 1) multiple writable 
> > and snapshotable heads? 2) support updating a snapshot or 3) support 
> > writing to a snapshot that is lost when unmounted?
> 
> What's the difference between (1) and (2), do you mean ?
> The number of read/write mounts concurrently mountable ?
> 
> I'd like to allow read/write mount for snapshots like:
> 
>   # mount -t nilfs2 -o rw,cp=xxx /dev/block /dir
> 
> and maybe (2) is nearest to what I want.
> The (3) seems to be rather restrictive.

well i already guessed so :) though a forkable FS has its advantages! but 
would one really use it in practice? It could be handy for switching 
between configurations and effectively has a COW strategy that keeps the 
diffs for each head between the fork point and the current point but that 
could also be done with an LVM.

> > But how to number checkpoints and snapshots then?
> 
> I don't like CVS revision like extension.
> Just appending derived checkpoints (from a snapshot) to current head,
> seems to be preferable.  What do you think?

For option (2) new data/modifications can we written out only under the old 
checkpoint number like the cleaner does.... but if you create a new 
checkpoint for it ... i dunno; that would break the rule `the last 
checkpoint is the head'. We could also give snapshot/head a name; then 
increasing checkpoints is no issue if you keep the head name; one can then 
search for the `HEAD' name with the highest checkpoint number. Or are you 
suggesting a different way?

> > - data integrity support
> 
> I'd rather expect that the future data integrity extension of block
> layer (e.g. T10 DIF) due to simplicity and performance reason.

yeah, maybe the block level would be better yes; easier at least :-D

> > - B tree base directory management
> > - Extent support
>
> For extent based management, there seem to be some possibilities to apply
> it in NILFS.  For example,
> 
> - Extent tree (like ext4.  This is a possible displacement of B-tree )
> - Extent based DAT (would save disk space consumed by DAT and improve
>   performance)
> - Extent based binfo in segment summary.

Extent based DAT yeah, that could be used yes. An extent tree is quite ... 
a different thing though i dont know how difficult it would be to implement 
an extent based DAT; haven't tried it yet.

With regards,
Reinoud


[-- Attachment #1.2: Type: application/pgp-signature, Size: 478 bytes --]

[-- Attachment #2: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

  parent reply	other threads:[~2008-08-26 13:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23 20:38 directory entries Reinoud Zandijk
     [not found] ` <20080823203853.GA19421-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-08-25  3:21   ` Ryusuke Konishi
     [not found]     ` <20080825.122125.65657043.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-25  3:30       ` Ryusuke Konishi
     [not found]         ` <20080825.123047.128885778.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-25 15:52           ` Reinoud Zandijk
     [not found]             ` <20080825155243.GA12855-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-08-26 10:29               ` Ryusuke Konishi
     [not found]                 ` <20080826.192942.104752679.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-26 13:29                   ` Reinoud Zandijk [this message]
     [not found]                     ` <20080901.143956.08023399.ryusuke@osrg.net>
     [not found]                       ` <20080901.143956.08023399.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-01  5:51                         ` Shaya Potter
     [not found]                           ` <48BB82F7.4070607-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-09-01  8:16                             ` Ryusuke Konishi
     [not found]                               ` <20080901.171643.74124381.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-01 14:27                                 ` Shaya Potter
     [not found]                                   ` <48BBFBEA.2000308-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-09-01 17:31                                     ` Ryusuke Konishi
2008-09-01 11:07                         ` Reinoud Zandijk
     [not found]                           ` <20080901110730.GA21008-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-09-01 16:51                             ` Ryusuke Konishi
     [not found]                               ` <20080902.015156.126164477.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-02 15:02                                 ` Reinoud Zandijk
     [not found]                                   ` <20080902150226.GA28292-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-09-03 12:39                                     ` Reinoud Zandijk
2008-09-03 16:32                                     ` Ryusuke Konishi

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=20080826132944.GA17045@aardappel.13thmonkey.org \
    --to=reinoud-s783fymb3ccdnm+yrofe0a@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org \
    /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