* -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
@ 2010-10-28 14:39 Ingo Molnar
0 siblings, 0 replies; 8+ messages in thread
From: Ingo Molnar @ 2010-10-28 14:39 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Linus Torvalds, linux-ext4, linux-kernel, Andrew Morton
Today's -tip fails to build on !CONFIG_BLOCK, due to upstream commit 367a51a ("fs:
Add FITRIM ioctl"):
include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
include/linux/fs.h:36: error: expected specifier-qualifier-list before ‘uint64_t’
The commit adds uint64_t type usage to fs.h, but linux/types.h is not included
explicitly - it's only included implicitly via linux/blk_types.h, and there only if
CONFIG_BLOCK is enabled.
Add the explicit #include to fix this.
Ob'grumpy'tester: this commit has a commit date of yesterday, that equals author
date while author != committer - how is that possible? Also, the commit was merged
upstream a few hours after that.
Thanks,
Ingo
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
include/linux/fs.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6ed7ace..1c73b50 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -9,6 +9,7 @@
#include <linux/limits.h>
#include <linux/ioctl.h>
#include <linux/blk_types.h>
+#include <linux/types.h>
/*
* It's silly to have NR_OPEN bigger than NR_FILE, but you can change
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [GIT PULL] ext4 update for 2.6.37
@ 2010-10-28 4:52 Theodore Ts'o
2010-10-28 7:56 ` -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37) Ingo Molnar
0 siblings, 1 reply; 8+ messages in thread
From: Theodore Ts'o @ 2010-10-28 4:52 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-ext4, linux-kernel
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git for_linus
or
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git upstream-merge
the merge is somewhat complex, since there's been a lot of work going on
in parallel with discard and zeroout changes, as well as the change
block_prepare_write/__block_write_begin. The changes pass the xfstests
regression test suite, using both 1k and 4k block sizes --- both before
the upstream merge (the for_linus branch) and after doing a trial merge
with the head of your tree as of Wednesday evening (the upstream-merge
branch).
The changes this time around have two major features, which are
responsible for most of the new lines of code. One is lazy inode table
initialization, which allows ext4 file systems to be mkfs'ed very
quickly. The second is changing the I/O submission path so that it uses
the block I/O layer directly. This makes blktraces much smaller, and
makes ext4 far more scalable. On the boxacle "large file create"
workload, run with 48 and 192 threads on a 48-core AMD box, ext4 now has
a 3x increase in write throughput, and CPU usage has been reduced by a
factor of 3-4. Most of this was achieved by reducing spinlock
contention on the block queue submission locks.
We also added support for run-time discard of unused blocks using the
new FITRIM ioctl (which has been run by the linux-fs mailing list as a
generic file system-independent interface).
And, of course, a lot of bug fixes and clean ups.
- Ted
Brian King (1):
jbd2: Fix I/O hang in jbd2_journal_release_jbd_inode
Curt Wohlgemuth (1):
ext4: use dedicated slab caches for group_info structures
Dmitry Monakhov (1):
ext4: optimize orphan_list handling for ext4_setattr
Eric Sandeen (10):
ext4: stop looping in ext4_num_dirty_pages when max_pages reached
ext4: don't bump up LONG_MAX nr_to_write by a factor of 8
ext4: fix oops in trace_ext4_mb_release_group_pa
ext4: don't use ext4_allocation_contexts for tracing
ext4: queue conversion after adding to inode's completed IO list
ext4: remove unused ext4_sb_info members
ext4: tidy up a void argument in inode.c
ext4: implement writeback livelock avoidance using page tagging
ext4: update writeback_index based on last page scanned
ext4: move ext4_mb_{get,put}_buddy_cache_lock and make them static
Kazuya Mio (1):
ext4: fix compile error in ext4_fallocate()
Lukas Czerner (11):
ext4: check for negative error code from sb_issue_discard
ext4: don't hold spinlock while calling ext4_issue_discard()
Add helper function for blkdev_issue_zeroout (sb_issue_discard)
ext4: add support for lazy inode table initialization
ext4: add interface to advertise ext4 features in sysfs
ext4: use sb_issue_zeroout in setup_new_group_blocks
ext4: use sb_issue_zeroout in ext4_ext_zeroout
ext4: Use return value from sb_issue_discard()
fs: Add FITRIM ioctl
ext4: Add batched discard support for ext4
ext4: add batched_discard into ext4 feature list
Maciej Żenczykowski (1):
ext4: don't update sb journal_devnum when RO dev
Namhyung Kim (1):
ext4: Check return value of sb_getblk() and friends
Nicolas Kaiser (1):
ext4: fix unbalanced mutex unlock in error path of ext4_li_request_new
Sergey Senozhatsky (1):
ext4: fix NULL pointer dereference in print_daily_error_info()
Theodore Ts'o (18):
ext4: fix EOFBLOCKS_FL handling
jbd2: Add sanity check for attempts to start handle during umount
ext4: avoid uninitialized memory references in ext3_htree_next_block()
ext4: use search_dirblock() in ext4_dx_find_entry()
ext4: use KMEM_CACHE instead of kmem_cache_create
ext4: call mpage_da_submit_io() from mpage_da_map_blocks()
ext4: simplify ext4_writepage()
ext4: inline ext4_writepage() into mpage_da_submit_io()
ext4: inline walk_page_buffers() into mpage_da_submit_io
ext4: move mpage_put_bnr_to_bhs()'s functionality to mpage_da_submit_io()
ext4: use bio layer instead of buffer layer in mpage_da_submit_io
ext4: fix kernel oops if the journal superblock has a non-zero j_errno
ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()
ext4: make various ext4 functions be static
ext4: rename {ext,idx}_pblock and inline small extent functions
ext4: move flush_completed_IO to fs/ext4/fsync.c and make it static
ext4: rename mark_bitmap_end() to ext4_mark_bitmap_end()
ext4,jbd2: convert tracepoints to use major/minor numbers
Toshiyuki Okajima (2):
ext4: improve llseek error handling for overly large seek offsets
ext4: fix potential infinite loop in ext4_da_writepages()
Wen Congyang (1):
ext4: avoid null dereference in trace_ext4_mballoc_discard
Documentation/filesystems/ext4.txt | 14 +
fs/ext4/Makefile | 2 +-
fs/ext4/balloc.c | 5 +-
fs/ext4/block_validity.c | 7 +-
fs/ext4/dir.c | 2 +-
fs/ext4/ext4.h | 110 ++++++--
fs/ext4/ext4_extents.h | 65 ++++-
fs/ext4/extents.c | 369 ++++++++++-------------
fs/ext4/file.c | 44 +++-
fs/ext4/fsync.c | 83 +++++
fs/ext4/ialloc.c | 136 ++++++++-
fs/ext4/inode.c | 587 +++++++++++++-----------------------
fs/ext4/mballoc.c | 554 ++++++++++++++++++++++------------
fs/ext4/migrate.c | 2 +-
fs/ext4/move_extent.c | 22 +-
fs/ext4/namei.c | 63 ++---
fs/ext4/page-io.c | 430 ++++++++++++++++++++++++++
fs/ext4/resize.c | 53 +---
fs/ext4/super.c | 531 +++++++++++++++++++++++++++++++--
fs/ext4/xattr.c | 4 +-
fs/ext4/xattr.h | 8 +-
fs/ioctl.c | 39 +++
fs/jbd2/checkpoint.c | 10 +
fs/jbd2/commit.c | 12 +-
fs/jbd2/journal.c | 4 +-
fs/jbd2/transaction.c | 1 +
include/linux/blkdev.h | 8 +
include/linux/fs.h | 8 +
include/linux/jbd2.h | 2 +-
include/linux/percpu_counter.h | 10 +
include/linux/writeback.h | 2 +
include/trace/events/ext4.h | 378 ++++++++++++++---------
include/trace/events/jbd2.h | 78 +++--
33 files changed, 2513 insertions(+), 1130 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 4:52 [GIT PULL] ext4 update for 2.6.37 Theodore Ts'o
@ 2010-10-28 7:56 ` Ingo Molnar
2010-10-28 12:12 ` Theodore Tso
2010-10-28 16:30 ` Linus Torvalds
0 siblings, 2 replies; 8+ messages in thread
From: Ingo Molnar @ 2010-10-28 7:56 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Linus Torvalds, linux-ext4, linux-kernel
hi Ted,
> Theodore Ts'o (18):
> ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()
Today's -tip fails to build due to upstream commit 5dabfc7 ("ext4: rename
{exit,init}_ext4_*() to ext4_{exit,init}_*()"), on all[yes/mod]config with
CONFIG_EXT4_FS_XATTR disabled:
fs/ext4/super.c:4776: error: implicit declaration of function ‘ext4_init_xattr’
Commit 5dabfc7 renamed init_ext4_xattr to ext4_init_xattr but forgot to update the
definition in fs/ext4/xattr.h. The patch below fixes it.
Thanks,
Ingo
Signed-off-by: Ingo Molnar <mingo@elte.hu>
--- linux.orig/fs/ext4/xattr.h
+++ linux/fs/ext4/xattr.h
@@ -122,7 +122,7 @@ ext4_xattr_put_super(struct super_block
}
static __init inline int
-init_ext4_xattr(void)
+ext4_init_xattr(void)
{
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 7:56 ` -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37) Ingo Molnar
@ 2010-10-28 12:12 ` Theodore Tso
2010-10-28 16:30 ` Linus Torvalds
1 sibling, 0 replies; 8+ messages in thread
From: Theodore Tso @ 2010-10-28 12:12 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Linus Torvalds, linux-ext4, linux-kernel
On Oct 28, 2010, at 3:56 AM, Ingo Molnar wrote:
>
> hi Ted,
>
>> Theodore Ts'o (18):
>> ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()
>
> Today's -tip fails to build due to upstream commit 5dabfc7 ("ext4: rename
> {exit,init}_ext4_*() to ext4_{exit,init}_*()"), on all[yes/mod]config with
> CONFIG_EXT4_FS_XATTR disabled:
>
> fs/ext4/super.c:4776: error: implicit declaration of function ‘ext4_init_xattr’
>
> Commit 5dabfc7 renamed init_ext4_xattr to ext4_init_xattr but forgot to update the
> definition in fs/ext4/xattr.h. The patch below fixes it.
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Thanks for catching this, my bad.
-- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 7:56 ` -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37) Ingo Molnar
2010-10-28 12:12 ` Theodore Tso
@ 2010-10-28 16:30 ` Linus Torvalds
2010-10-28 16:38 ` Ingo Molnar
1 sibling, 1 reply; 8+ messages in thread
From: Linus Torvalds @ 2010-10-28 16:30 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Theodore Ts'o, linux-ext4, linux-kernel
On Thu, Oct 28, 2010 at 12:56 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
> Today's -tip fails to build due to upstream commit 5dabfc7 ("ext4: rename
> {exit,init}_ext4_*() to ext4_{exit,init}_*()"), on all[yes/mod]config with
> CONFIG_EXT4_FS_XATTR disabled:
Btw, could you try to write these things so that the changelog doesn't
have to be totally rewritten? Now I always end up having to move
things around and edit them to be useful from a long-term perspective,
which is kind of silly.
Linus
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 16:30 ` Linus Torvalds
@ 2010-10-28 16:38 ` Ingo Molnar
2010-10-28 16:55 ` Ted Ts'o
2010-10-28 17:00 ` Linus Torvalds
0 siblings, 2 replies; 8+ messages in thread
From: Ingo Molnar @ 2010-10-28 16:38 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Theodore Ts'o, linux-ext4, linux-kernel
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Thu, Oct 28, 2010 at 12:56 AM, Ingo Molnar <mingo@elte.hu> wrote:
> >
> > Today's -tip fails to build due to upstream commit 5dabfc7 ("ext4: rename
> > {exit,init}_ext4_*() to ext4_{exit,init}_*()"), on all[yes/mod]config with
> > CONFIG_EXT4_FS_XATTR disabled:
>
> Btw, could you try to write these things so that the changelog doesn't have to be
> totally rewritten? Now I always end up having to move things around and edit them
> to be useful from a long-term perspective, which is kind of silly.
Heh, i was just lazy and used sfr's linux-next build bug reporting mails as a
template ;-)
Point taken in any case, i'll read your edited changelog and will change the
template accordingly.
Would this:
Upstream commit 5dabfc7 ("ext4: rename {exit,init}_ext4_*() to
ext4_{exit,init}_*()"), breaks the build on all[yes/mod]config with
CONFIG_EXT4_FS_XATTR disabled:
...
have been better?
Thanks,
Ingo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 16:38 ` Ingo Molnar
@ 2010-10-28 16:55 ` Ted Ts'o
2010-10-28 17:00 ` Linus Torvalds
1 sibling, 0 replies; 8+ messages in thread
From: Ted Ts'o @ 2010-10-28 16:55 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Linus Torvalds, linux-ext4, linux-kernel
Linus, if it's helpful, I have a pull request with correctly worded
changelogs here:
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git for_linus
My apologies again for screwing up these configs. The following has
been tested with allnoconfig, and I'm currently in the process of
testing allyesconfig (which I'm fairly confident will compile, or at
least if it fails, it won't be due to changes that came in via my
tree).
- Ted
Ingo Molnar (2):
ext4: Fix build when !CONFIG_EXT4_FS_XATTR
fs: build fix when !CONFIG_BLOCK
fs/ext4/xattr.h | 2 +-
include/linux/fs.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 16:38 ` Ingo Molnar
2010-10-28 16:55 ` Ted Ts'o
@ 2010-10-28 17:00 ` Linus Torvalds
2010-10-28 17:17 ` Ingo Molnar
1 sibling, 1 reply; 8+ messages in thread
From: Linus Torvalds @ 2010-10-28 17:00 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Theodore Ts'o, linux-ext4, linux-kernel
On Thu, Oct 28, 2010 at 9:38 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
> Point taken in any case, i'll read your edited changelog and will change the
> template accordingly.
>
> Would this:
>
> Upstream commit 5dabfc7 ("ext4: rename {exit,init}_ext4_*() to
> ext4_{exit,init}_*()"), breaks the build on all[yes/mod]config with
> CONFIG_EXT4_FS_XATTR disabled:
>
> ...
>
> have been better?
Yes. Except for the kernel the default git commit abbreviation is
borderline too short. Seven hex-chars can easily alias with a few more
pulls from me: git will not give aliases at the time it gives a
shorthand, but a month or two later the abbreviated commit may no
longer be unique.
So I suggest using --abbrev=12 or similar.
What I ended up writing your commit as was this:
ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled
Commit 5dabfc78dced ("ext4: rename {exit,init}_ext4_*() to
ext4_{exit,init}_*()") causes
fs/ext4/super.c:4776: error: implicit declaration of function
‘ext4_init_xattr’
when CONFIG_EXT4_FS_XATTR is disabled.
It renamed init_ext4_xattr to ext4_init_xattr but forgot to update the
dummy definition in fs/ext4/xattr.h.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
but that's just me.
Linus
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37)
2010-10-28 17:00 ` Linus Torvalds
@ 2010-10-28 17:17 ` Ingo Molnar
0 siblings, 0 replies; 8+ messages in thread
From: Ingo Molnar @ 2010-10-28 17:17 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Theodore Ts'o, linux-ext4, linux-kernel
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Thu, Oct 28, 2010 at 9:38 AM, Ingo Molnar <mingo@elte.hu> wrote:
> >
> > Point taken in any case, i'll read your edited changelog and will change the
> > template accordingly.
> >
> > Would this:
> >
> > Upstream commit 5dabfc7 ("ext4: rename {exit,init}_ext4_*() to
> > ext4_{exit,init}_*()"), breaks the build on all[yes/mod]config with
> > CONFIG_EXT4_FS_XATTR disabled:
> >
> > ...
> >
> > have been better?
>
> Yes. Except for the kernel the default git commit abbreviation is borderline too
> short. Seven hex-chars can easily alias with a few more pulls from me: git will
> not give aliases at the time it gives a shorthand, but a month or two later the
> abbreviated commit may no longer be unique.
>
> So I suggest using --abbrev=12 or similar.
ok. A helper script i use does this:
git log --pretty=format:"%h: %s" $@
I have added --abbrev=12. Might make sense to lengthen the %h default in upstream
Git as well?
> What I ended up writing your commit as was this:
>
> ext4: fix compile with CONFIG_EXT4_FS_XATTR disabled
>
> Commit 5dabfc78dced ("ext4: rename {exit,init}_ext4_*() to
> ext4_{exit,init}_*()") causes
>
> fs/ext4/super.c:4776: error: implicit declaration of function ‘ext4_init_xattr’
>
> when CONFIG_EXT4_FS_XATTR is disabled.
>
> It renamed init_ext4_xattr to ext4_init_xattr but forgot to update the
> dummy definition in fs/ext4/xattr.h.
>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> Acked-by: "Theodore Ts'o" <tytso@mit.edu>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
>
> but that's just me.
Ok, this indeed is much nicer to read.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-28 17:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28 14:39 -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37) Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2010-10-28 4:52 [GIT PULL] ext4 update for 2.6.37 Theodore Ts'o
2010-10-28 7:56 ` -tip: origin tree build failure (was: [GIT PULL] ext4 update for 2.6.37) Ingo Molnar
2010-10-28 12:12 ` Theodore Tso
2010-10-28 16:30 ` Linus Torvalds
2010-10-28 16:38 ` Ingo Molnar
2010-10-28 16:55 ` Ted Ts'o
2010-10-28 17:00 ` Linus Torvalds
2010-10-28 17:17 ` Ingo Molnar
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).