2008-02-10 06:54:16

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] ext4: move headers out of include/linux

On Sat, Feb 09, 2008 at 10:39:33AM +0100, Christoph Hellwig wrote:
> Move ext4 headers out of include/linux. This is just the trivial move,
> there's some more thing that could be done later.
>
> Ted, is anything of these shared with e2fsprogs or can we rip out all
> that #ifdef __KERNEL__ junk?
>
> Note that I plan to submit similar patches for ext2 and ext3 aswell,
> so the diverging from them argument doesn't count.
>
> Signed-off-by: Christoph Hellwig <[email protected]>

Looks like the patch is to big for vger. Here's a link instead:

http://verein.lst.de/~hch/ext4-move-headers


2008-02-10 13:00:47

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] ext4: move headers out of include/linux

On Sun, Feb 10, 2008 at 07:52:22AM +0100, Christoph Hellwig wrote:
> On Sat, Feb 09, 2008 at 10:39:33AM +0100, Christoph Hellwig wrote:
> > Move ext4 headers out of include/linux. This is just the trivial move,
> > there's some more thing that could be done later.
> >
> > Ted, is anything of these shared with e2fsprogs or can we rip out all
> > that #ifdef __KERNEL__ junk?

No, none of this is shared with e2fsprogs; e2fsprogs stopped using the
kernel header files about seven years ago. (May 2001, e2fsprogs 1.20).

> > Note that I plan to submit similar patches for ext2 and ext3 aswell,
> > so the diverging from them argument doesn't count.

There might be other programs like grub that may depend upon ext2_fs.h
or ext3_fs.h.... <apt-get source / grep> Nope, not grub. So a few
things might break, but they are all programs that should have been
using the libraries shipped with e2fsprogs, and they wouldn't be
critical programs. So no problems that I know of.

> Looks like the patch is to big for vger. Here's a link instead:
>
> http://verein.lst.de/~hch/ext4-move-headers

Note Linus just accepted a pull from me (although it just missed the
-git21 snapshot window --- <aside> it would be nice if that happend at
3am Pacific instead of midnight Pacific since very occasionally it's a
little after midnight before Linus pushes his last set of changes to
master.kernel.org</aside>) so this patch won't apply cleanly to the
Linus's tip. I'll take the patch DTRT so it can be placed in the ext4
tree.

Also, on the git list, Linus mentioned the -rc1 merge window would be
closing soon, though, so I don't know if this will make 2.6.25. If it
doesn't, would you mind terribly if we put this on hold and *not* have
this in the -mm tree until right before the next merge window opens.
It's mostly a mechnical change, doesn't need much testing --- and it
complicates patch management which I know has been making Andrew a bit
grumpy as of late. (Some people submit patches against Linus's tip,
and they are sweeping changes that touch files in multiple maintainer
trees, like the iget() removal patch or the r/o bind patch, and life
gets hard.)

I think the general idea is good; it's just a matter of timing.

- Ted

2008-02-10 14:19:49

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] ext4: move headers out of include/linux

On Sun, Feb 10, 2008 at 07:54:32AM -0500, Theodore Tso wrote:
> No, none of this is shared with e2fsprogs; e2fsprogs stopped using the
> kernel header files about seven years ago. (May 2001, e2fsprogs 1.20).

Yeah, I know userspace stopped using the direct copy. But for example
XFS has exact copies of some headers under fs/xfs also in the userspace
package. But I assume your answer means you have a completely separate
set of headers for e2fsprogs, which makes sense given it supports ext2,
ext3 and ext4 all with one codebase.

> > > Note that I plan to submit similar patches for ext2 and ext3 aswell,
> > > so the diverging from them argument doesn't count.
>
> There might be other programs like grub that may depend upon ext2_fs.h
> or ext3_fs.h.... <apt-get source / grep> Nope, not grub. So a few
> things might break, but they are all programs that should have been
> using the libraries shipped with e2fsprogs, and they wouldn't be
> critical programs. So no problems that I know of.

We might have to leave the user-space visible parts of ext2_fs.h
in place due to historical reasons, so I will leave that part out of
the first patch. I don't think that argument is valid for ext3_fs.h
as ext3 only go into mainline at the same time as /usr/include/ext2fs/
started appearing even if ext3_fs.h is exported currently.

> Note Linus just accepted a pull from me (although it just missed the
> -git21 snapshot window --- <aside> it would be nice if that happend at
> 3am Pacific instead of midnight Pacific since very occasionally it's a
> little after midnight before Linus pushes his last set of changes to
> master.kernel.org</aside>) so this patch won't apply cleanly to the
> Linus's tip. I'll take the patch DTRT so it can be placed in the ext4
> tree.

Updated patch is in the same location:

http://verein.lst.de/~hch/ext4-move-headers

> Also, on the git list, Linus mentioned the -rc1 merge window would be
> closing soon, though, so I don't know if this will make 2.6.25. If it
> doesn't, would you mind terribly if we put this on hold and *not* have
> this in the -mm tree until right before the next merge window opens.
> It's mostly a mechnical change, doesn't need much testing --- and it
> complicates patch management which I know has been making Andrew a bit
> grumpy as of late.

Yeah, if it's too late already we can defer it.

2008-08-11 10:01:14

by David Woodhouse

[permalink] [raw]
Subject: Changing the timing of -gitX snapshot releases?

On Sun, 2008-02-10 at 07:54 -0500, Theodore Tso wrote:
> <aside> it would be nice if that happend at
> 3am Pacific instead of midnight Pacific since very occasionally it's a
> little after midnight before Linus pushes his last set of changes to
> master.kernel.org</aside>

That can be done. Does anyone else really care about the timing of the
snapshots? TBH I've no idea how I ended up with '7,19' in my crontab...

--
David Woodhouse Open Source Technology Centre
[email protected] Intel Corporation




2008-08-11 19:41:59

by Randy Dunlap

[permalink] [raw]
Subject: Re: Changing the timing of -gitX snapshot releases?

On Mon, 11 Aug 2008 11:01:14 +0100 David Woodhouse wrote:

> On Sun, 2008-02-10 at 07:54 -0500, Theodore Tso wrote:
> > <aside> it would be nice if that happend at
> > 3am Pacific instead of midnight Pacific since very occasionally it's a
> > little after midnight before Linus pushes his last set of changes to
> > master.kernel.org</aside>
>
> That can be done. Does anyone else really care about the timing of the
> snapshots? TBH I've no idea how I ended up with '7,19' in my crontab...

Go for it. // says a git snapshot user


---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/