All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Jan Kara <jack@suse.cz>, linux-ext4@vger.kernel.org
Subject: Re: [PATCH 1/4] libext2fs: Support for orphan file feature
Date: Mon, 25 May 2015 10:01:33 +0200	[thread overview]
Message-ID: <20150525080133.GD2387@quack.suse.cz> (raw)
In-Reply-To: <4CA1ABFA-BDCE-44D7-AC06-FF1D606803A4@dilger.ca>

On Fri 22-05-15 15:59:19, Andreas Dilger wrote:
> On May 22, 2015, at 5:28 AM, Jan Kara <jack@suse.cz> wrote:
> > diff --git a/lib/ext2fs/ext2_fs.h b/lib/ext2fs/ext2_fs.h
> > index a755cfac8eae..a77c8fa09938 100644
> > --- a/lib/ext2fs/ext2_fs.h
> > +++ b/lib/ext2fs/ext2_fs.h
> > @@ -52,6 +52,7 @@
> > #define EXT2_JOURNAL_INO	 8	/* Journal inode */
> > #define EXT2_EXCLUDE_INO	 9	/* The "exclude" inode, for snapshots */
> > #define EXT4_REPLICA_INO	10	/* Used by non-upstream feature */
> > +#define EXT4_ORPHAN_INO		 9	/* Inode with orphan entries */
> 
> This still has a problem here, and can't be safely landed until it is
> resolved.  At a minimum, it shouldn't be possible to create a filesystem
> with COMPAT_ORPHAN_FILE at the same time as COMPAT_EXCLUDE_BITMAP.  Since
> EXCLUDE_BITMAP never made it upstream, that might be a reasonable
> compromise for now.

Yeah, for now I've chosen inode number 9 as for testing it's good enough.
We can make this feature incompatible with COMPAT_EXCLUDE_BITMAP as you
suggest or we can use some higher inode number and require increased number
of reserved inodes. I don't mind either too much.

> That said, we still need to do something about the lack of reserved inodes.

Agreed. I've tried to get some decision from Ted regarding this a few times
but failed.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

  reply	other threads:[~2015-05-25  8:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 11:28 [PATCH 0/4] e2fsprogs: Support for orphan file feature Jan Kara
2015-05-22 11:28 ` [PATCH 1/4] libext2fs: " Jan Kara
2015-05-22 17:35   ` Darrick J. Wong
2015-05-25  7:49     ` Jan Kara
2015-05-22 21:59   ` Andreas Dilger
2015-05-25  8:01     ` Jan Kara [this message]
2015-05-22 11:28 ` [PATCH 2/4] mke2fs: Add support for orphan_file feature Jan Kara
2015-05-22 11:28 ` [PATCH 3/4] e2fsck: Add support for handling orphan file Jan Kara
2015-05-22 11:28 ` [PATCH 4/4] tune2fs: Add support for orphan_file feature Jan Kara
2015-05-22 17:18   ` Darrick J. Wong
2015-05-25  7:38     ` Jan Kara
2015-05-25 16:16       ` Andreas Dilger
2015-05-26  7:24         ` Jan Kara
2015-05-22 15:51 ` [PATCH 0/4] e2fsprogs: Support for orphan file feature Albino Biasutti Neto
2015-05-25  7:19   ` Jan Kara

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=20150525080133.GD2387@quack.suse.cz \
    --to=jack@suse.cz \
    --cc=adilger@dilger.ca \
    --cc=linux-ext4@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.