9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] fossil pb: FOUND!
Date: Sun, 15 Jan 2012 15:07:47 +0100	[thread overview]
Message-ID: <CAEAzY3-mPRW3jGYWbXeTk7Sc+nC6Xn1NhK2a=Tb2yKkm06EStQ@mail.gmail.com> (raw)
In-Reply-To: <888dedc8db38b37430a0c1c44cc9c981@chula.quanstro.net>

> you've confused the internal implementation
> with the public programming interface.

The properties we're discussing here (dedup, fragmentation,
performance) are an artifact of the implementation, not of the
interface. Fossil+Venti would perform the same if Venti exported its
interface only to Fossil, and not to the whole world.

In ZFS terms, Fossil is akin to ZPL (ZFS POSIX layer), it implements
filesystem semantics over another layer, DMU for ZFS and Venti for
Plan9.

Please not that ZFS exports more than the filesystem interface,
there's also iSCSI (as you noticed), zfs send/recv (remarcably similar
to venti/write venti/read, even in their use of standard input/output
interface), even bits of the DMU are exported. Hell, even the VFS
concrete implementation is exported (though only in kernel mode), else
you could not write layered filesystems (not as nice and simple as
Plan9 bind(2) but akin to STREAMS filters at filesystem layer). You
know I've worked at writing the SMB/CIFS in-kernel filesystem that
sits on top of ZFS, right? Well, when you're doing this you have to be
careful around this content-addressed thing. I've used the interface
you claim it doesn't exist. It's not public? Why is this relevant to
the properties of the system?

> on the other hand, zfs is not content addressed.  this is because, as
> an iscsi target, zfs will be addressing data by block offset rather
> than hash.  zfs could store its bits in venti, and it still would NOT be
> content addressed nor would it be venti-addressed.

That's not fair at all, I could be claiming that venti is not content
addressed because you use hierarchical names to address data in a vac
archive. Vac is just a layer over venti, like ZPL and iSCSI is a layer
over DMU.

In this case the properties of the system depend on the properties of
the underlying layer, not of the interface, and this layer is content
addressed, even by your definition.

-- 
Aram Hăvărneanu



  reply	other threads:[~2012-01-15 14:07 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-13 11:30 [9fans] fossil pb: a clue? tlaronde
2012-01-13 13:30 ` erik quanstrom
2012-01-13 13:38 ` [9fans] fossil pb: FOUND! tlaronde
2012-01-13 13:59   ` erik quanstrom
2012-01-13 14:08     ` tlaronde
2012-01-13 14:47       ` erik quanstrom
2012-01-13 16:01         ` tlaronde
2012-01-13 16:16           ` erik quanstrom
2012-01-13 16:34             ` tlaronde
2012-01-13 16:42               ` David du Colombier
2012-01-13 16:44               ` Vivien MOREAU
2012-01-13 16:50                 ` tlaronde
2012-01-13 16:17           ` David du Colombier
2012-01-13 16:41             ` tlaronde
2012-01-13 16:50               ` Charles Forsyth
2012-01-13 17:05                 ` tlaronde
2012-01-13 17:02               ` tlaronde
2012-01-13 17:11                 ` Charles Forsyth
2012-01-13 17:24                 ` Nicolas Bercher
2012-01-13 17:44                   ` tlaronde
2012-01-13 17:37               ` erik quanstrom
2012-01-13 17:58                 ` tlaronde
2012-01-13 18:14                   ` erik quanstrom
2012-01-13 21:00                     ` Yaroslav
2012-01-13 22:14                       ` Charles Forsyth
     [not found]                   ` <CAG3N4d8c56DRSbt30k3EkgnyvrPSLbFkWH-kKapm7CVmKsu9og@mail.gmail.c>
2012-01-13 21:02                     ` erik quanstrom
     [not found]                   ` <CAOw7k5hU=F2tynnFHtoz=AJ=HiFq2oLYhz4Rg-QgM+rv_gu5Ow@mail.gmail.c>
2012-01-13 22:17                     ` erik quanstrom
2012-01-13 23:10                       ` Aram Hăvărneanu
2012-01-13 23:14                         ` Francisco J Ballesteros
2012-01-13 23:23                           ` Aram Hăvărneanu
2012-01-14  0:30                           ` Bakul Shah
2012-01-14  1:01                             ` dexen deVries
2012-01-14 13:26                               ` erik quanstrom
2012-01-14 15:00                                 ` hiro
2012-01-14 15:06                                   ` Charles Forsyth
     [not found]                                   ` <CAOw7k5h2T+xuxbJhwTxPMOjG3K14KarrJPXFmH9EHdHJnXFpPA@mail.gmail.c>
2012-01-14 15:29                                     ` erik quanstrom
2012-01-14 16:16                                       ` Aram Hăvărneanu
     [not found]                                       ` <CAEAzY3_9jpi6j-C1u87OKaEazajOBwkvbEBdO5f1eUJysJbH1A@mail.gmail.c>
2012-01-14 16:32                                         ` erik quanstrom
2012-01-14 18:01                                           ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39pUNCTs6kMYnYoukx3TH8OuhgcmhSF+nVW5jX0iTCYvA@mail.gmail.c>
2012-01-14 20:43                                             ` erik quanstrom
2012-01-14 21:39                                               ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY3842EWp=WByCPAm7yGEK2h5b+1hkbwm5NoRPTH_2F5CVA@mail.gmail.c>
2012-01-14 21:54                                             ` erik quanstrom
2012-01-14 22:11                                               ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39GD4QoTRf2S0Nd4rN+vSyG1tsKyP3rFWu5a0mFN=sH6w@mail.gmail.c>
2012-01-14 22:42                                             ` erik quanstrom
2012-01-14 23:03                                               ` Aram Hăvărneanu
2012-01-14 23:32                                               ` Bakul Shah
2012-01-14 23:45                                                 ` Aram Hăvărneanu
     [not found]                                           ` <CAEAzY39ddvxRSwSP+Eh7kujJEs3nYh4kQegfuSisgdgB9qMQ4g@mail.gmail.c>
2012-01-15 13:12                                             ` erik quanstrom
2012-01-15 14:07                                               ` Aram Hăvărneanu [this message]
     [not found]                                           ` <CAEAzY3-mPRW3jGYWbXeTk7Sc+nC6Xn1NhK2a=Tb2yKkm06EStQ@mail.gmail.c>
2012-01-15 14:25                                             ` erik quanstrom
2012-01-15 14:39                                               ` Charles Forsyth
2012-01-14 18:39                                       ` Charles Forsyth
2012-01-14 13:27                               ` erik quanstrom
2012-01-13 23:24                         ` cinap_lenrek
     [not found]                   ` <CAEAzY39VJhaWD03PruMoS2A+bCP62XDTdgob1hgtjp6qHtjdSA@mail.gmail.c>
2012-01-14 13:07                     ` erik quanstrom
2012-01-13 13:59 ` [9fans] fossil pb: a clue? David du Colombier
2012-01-13 14:11   ` tlaronde

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='CAEAzY3-mPRW3jGYWbXeTk7Sc+nC6Xn1NhK2a=Tb2yKkm06EStQ@mail.gmail.com' \
    --to=aram.h@mgk.ro \
    --cc=9fans@9fans.net \
    /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).