All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Damien Le Moal <Damien.LeMoal@wdc.com>
Cc: Jeff Moyer <jmoyer@redhat.com>,
	"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
	"linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	Johannes Thumshirn <jthumshirn@suse.de>,
	Hannes Reinecke <hare@suse.de>, Ting Yao <d201577678@hust.edu.cn>
Subject: Re: [PATCH RFC] fs: New zonefs file system
Date: Mon, 22 Jul 2019 10:04:24 +1000	[thread overview]
Message-ID: <20190722000424.GP7689@dread.disaster.area> (raw)
In-Reply-To: <BYAPR04MB58164A7ACFD3B6331404ECA3E7CA0@BYAPR04MB5816.namprd04.prod.outlook.com>

On Sat, Jul 20, 2019 at 07:15:26AM +0000, Damien Le Moal wrote:
> Jeff,
> 
> On 2019/07/19 23:25, Jeff Moyer wrote:
> > OK, I can see how a file system eases adoption across multiple
> > languages, and may, in some cases, be easier to adopt by applications.
> > However, I'm not a fan of the file system interface for this usage.
> > Once you present a file system, there are certain expectations from
> > users, and this fs breaks most of them.
> 
> Your comments got me thinking more about zonefs specifications/features and I am
> now wondering if I am not pushing this too far in terms of simplicity. So here
> is a new RFC/Question to chew on... While keeping as a target the concept of
> "file == zone" or as close to it as possible, what do you think zonefs minimal
> feature set should be ?
> 
> One idea I have since a while back now is this:
> 1) If a zone is unused, do not show a file for it. This means adding a dynamic
> "zone allocation" code and supporting O_CREAT on open, unlink, etc. So have more
> normal file system calls behave as with a normal FS.
> 2) Allow file names to be decided by the user instead of using a fixed names.
> Again, have O_CREAT behave as expected

So now you have to implement a persistent directory structure,
atomic/transactional updates, etc. You've just added at least 2
orders of magnitude complexity to zonefs and a very substantial
amount of additional, ongoing QA to ensure it works correctly.

I think keeping it simple by exposing all zones to userspace and
leaving it to the application to track/index what zones it is
using is the simplest way forward for everyone.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2019-07-22  0:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-12  3:00 [PATCH RFC] fs: New zonefs file system Damien Le Moal
2019-07-12  8:00 ` Johannes Thumshirn
2019-07-12  8:31   ` Damien Le Moal
2019-07-12  8:47     ` Johannes Thumshirn
2019-07-12 17:10 ` Viacheslav Dubeyko
2019-07-12 22:56   ` Damien Le Moal
2019-07-15 16:54     ` Viacheslav Dubeyko
2019-07-15 23:53       ` Damien Le Moal
2019-07-16 16:51         ` Viacheslav Dubeyko
2019-07-18  0:57           ` Damien Le Moal
2019-07-15  1:19 ` Dave Chinner
2019-07-15  6:57   ` Johannes Thumshirn
2019-07-16 11:21   ` Damien Le Moal
2019-07-18 14:11 ` Jeff Moyer
2019-07-18 23:02   ` Damien Le Moal
2019-07-19 14:25     ` Jeff Moyer
2019-07-19 14:25       ` Jeff Moyer
2019-07-20  1:07       ` Damien Le Moal
2019-07-22  0:12         ` Dave Chinner
2019-07-20  7:15       ` Damien Le Moal
2019-07-22  0:04         ` Dave Chinner [this message]
2019-07-22  0:09           ` Damien Le Moal

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=20190722000424.GP7689@dread.disaster.area \
    --to=david@fromorbit.com \
    --cc=Damien.LeMoal@wdc.com \
    --cc=d201577678@hust.edu.cn \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=jmoyer@redhat.com \
    --cc=jthumshirn@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.