Skip to contentSkip to conversation

ext4: move headers out of include/linux

PATCH Christoph Hellwig 4 participants 5 messages Feb 10, 2008 – Aug 11, 2008 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 10 lines · Christoph Hellwig

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.

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

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

#2 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 5 lines · Christoph Hellwig

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).

Quoted 2 lines
Quoted 2 lines

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.

Quoted 3 lines

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

#3 lore raw
Quoted 2 lines · Theodore Tso

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.

Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

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.

Quoted 7 lines

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
Quoted 7 lines

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.

#4 lore raw

Changing the timing of -gitX snapshot releases?

In reply to Theodore Tso
Quoted 4 lines · Theodore Tso

<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...

Signature · 2 lines
David Woodhouse                            Open Source Technology Centre
[email protected]                              Intel Corporation
#5 lore raw

Re: Changing the timing of -gitX snapshot releases?

Quoted 8 lines · On Mon, 11 Aug 2008 11:01:14 +0100 David Woodhouse wrote:
Quoted 4 lines · Theodore Tso

<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/