* linux-next: xfs tree build failure
@ 2008-10-30 2:23 Stephen Rothwell
2008-10-30 9:08 ` Dave Chinner
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-10-30 2:23 UTC (permalink / raw)
To: David Chinner, xfs-masters; +Cc: linux-next, Lachlan McIlroy, linux-fsdevel
Hi David,
Today's linux-next build (powerpc ppc64_defconfig) failed like this:
ERROR: "inode_wait" [fs/xfs/xfs.ko] undefined!
Caused by commit 676a7711ee281c3bf41db18e29e296584de82793 ("[XFS] Fix
race when looking up reclaimable inodes") which introduced a use of
wait_on_inode() which is an inline that calls inode_wait().
I applied the following patch (probably wrong :-)).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 30 Oct 2008 13:19:46 +1100
Subject: [PATCH] fs: xfs needs inode_wait to be exported
Since wait_on_inode() references it.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
fs/inode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/inode.c b/fs/inode.c
index f84ba33..098a244 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1334,6 +1334,7 @@ int inode_wait(void *word)
schedule();
return 0;
}
+EXPORT_SYMBOL(inode_wait);
/*
* If we try to find an inode in the inode hash while it is being
--
1.5.6.5
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: linux-next: xfs tree build failure
2008-10-30 2:23 linux-next: xfs tree build failure Stephen Rothwell
@ 2008-10-30 9:08 ` Dave Chinner
2008-11-05 2:20 ` Stephen Rothwell
0 siblings, 1 reply; 8+ messages in thread
From: Dave Chinner @ 2008-10-30 9:08 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: xfs-masters, linux-next, Lachlan McIlroy, linux-fsdevel
On Thu, Oct 30, 2008 at 01:23:24PM +1100, Stephen Rothwell wrote:
> Hi David,
>
> Today's linux-next build (powerpc ppc64_defconfig) failed like this:
>
> ERROR: "inode_wait" [fs/xfs/xfs.ko] undefined!
>
> Caused by commit 676a7711ee281c3bf41db18e29e296584de82793 ("[XFS] Fix
> race when looking up reclaimable inodes") which introduced a use of
> wait_on_inode() which is an inline that calls inode_wait().
Putting a non-exported symbol in an inline function in a header file
that is full of exported functions. That's pretty anti-social. ;)
> I applied the following patch (probably wrong :-)).
I think it's probably the only solution - we need to wait until
the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
is the only way to do it.
Christoph?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: linux-next: xfs tree build failure
2008-10-30 9:08 ` Dave Chinner
@ 2008-11-05 2:20 ` Stephen Rothwell
2008-11-05 20:47 ` Dave Chinner
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-05 2:20 UTC (permalink / raw)
To: Dave Chinner; +Cc: xfs-masters, linux-next, Lachlan McIlroy, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
Hi Dave,
On Thu, 30 Oct 2008 20:08:32 +1100 Dave Chinner <david@fromorbit.com> wrote:
>
> On Thu, Oct 30, 2008 at 01:23:24PM +1100, Stephen Rothwell wrote:
> >
> > Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> >
> > ERROR: "inode_wait" [fs/xfs/xfs.ko] undefined!
> >
> > Caused by commit 676a7711ee281c3bf41db18e29e296584de82793 ("[XFS] Fix
> > race when looking up reclaimable inodes") which introduced a use of
> > wait_on_inode() which is an inline that calls inode_wait().
>
> Putting a non-exported symbol in an inline function in a header file
> that is full of exported functions. That's pretty anti-social. ;)
>
> > I applied the following patch (probably wrong :-)).
>
> I think it's probably the only solution - we need to wait until
> the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
> is the only way to do it.
Any resolution?
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: linux-next: xfs tree build failure
2008-11-05 2:20 ` Stephen Rothwell
@ 2008-11-05 20:47 ` Dave Chinner
2008-11-06 15:27 ` Christoph Hellwig
0 siblings, 1 reply; 8+ messages in thread
From: Dave Chinner @ 2008-11-05 20:47 UTC (permalink / raw)
To: Stephen Rothwell
Cc: xfs-masters, linux-next, Lachlan McIlroy, linux-fsdevel, hch
On Wed, Nov 05, 2008 at 01:20:00PM +1100, Stephen Rothwell wrote:
> Hi Dave,
>
> On Thu, 30 Oct 2008 20:08:32 +1100 Dave Chinner <david@fromorbit.com> wrote:
> >
> > On Thu, Oct 30, 2008 at 01:23:24PM +1100, Stephen Rothwell wrote:
> > >
> > > Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> > >
> > > ERROR: "inode_wait" [fs/xfs/xfs.ko] undefined!
> > >
> > > Caused by commit 676a7711ee281c3bf41db18e29e296584de82793 ("[XFS] Fix
> > > race when looking up reclaimable inodes") which introduced a use of
> > > wait_on_inode() which is an inline that calls inode_wait().
> >
> > Putting a non-exported symbol in an inline function in a header file
> > that is full of exported functions. That's pretty anti-social. ;)
> >
> > > I applied the following patch (probably wrong :-)).
> >
> > I think it's probably the only solution - we need to wait until
> > the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
> > is the only way to do it.
>
> Any resolution?
I was waiting on a comment from Christoph. I'll cc him directly this
time ;)
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: linux-next: xfs tree build failure
2008-11-05 20:47 ` Dave Chinner
@ 2008-11-06 15:27 ` Christoph Hellwig
2008-11-07 5:06 ` Stephen Rothwell
0 siblings, 1 reply; 8+ messages in thread
From: Christoph Hellwig @ 2008-11-06 15:27 UTC (permalink / raw)
To: Stephen Rothwell, xfs-masters, linux-next, Lachlan McIlroy,
linux-fsdevel, hch, viro
On Thu, Nov 06, 2008 at 07:47:54AM +1100, Dave Chinner wrote:
> > > I think it's probably the only solution - we need to wait until
> > > the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
> > > is the only way to do it.
> >
> > Any resolution?
>
> I was waiting on a comment from Christoph. I'll cc him directly this
> time ;)
What comment do you expect from me? The fix looks correct, but at some
point you should probably run all these exports past Al to get another
review. Especially as he's doing major work in this area currently.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: xfs tree build failure
2008-11-06 15:27 ` Christoph Hellwig
@ 2008-11-07 5:06 ` Stephen Rothwell
2008-11-11 2:05 ` Lachlan McIlroy
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-07 5:06 UTC (permalink / raw)
To: Dave Chinner
Cc: Christoph Hellwig, xfs-masters, linux-next, Lachlan McIlroy,
linux-fsdevel, viro
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
Hi all,
On Thu, 6 Nov 2008 10:27:53 -0500 Christoph Hellwig <hch@infradead.org> wrote:
>
> On Thu, Nov 06, 2008 at 07:47:54AM +1100, Dave Chinner wrote:
> > > > I think it's probably the only solution - we need to wait until
> > > > the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
> > > > is the only way to do it.
> > >
> > > Any resolution?
> >
> > I was waiting on a comment from Christoph. I'll cc him directly this
> > time ;)
>
> What comment do you expect from me? The fix looks correct, but at some
> point you should probably run all these exports past Al to get another
> review. Especially as he's doing major work in this area currently.
OK, I have dropped the xfs tree for today. Let me know when it is sorted
out.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: xfs tree build failure
2008-11-07 5:06 ` Stephen Rothwell
@ 2008-11-11 2:05 ` Lachlan McIlroy
2008-11-11 2:11 ` Stephen Rothwell
0 siblings, 1 reply; 8+ messages in thread
From: Lachlan McIlroy @ 2008-11-11 2:05 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Dave Chinner, Christoph Hellwig, xfs-masters, linux-next,
linux-fsdevel, viro
Stephen Rothwell wrote:
> Hi all,
>
> On Thu, 6 Nov 2008 10:27:53 -0500 Christoph Hellwig <hch@infradead.org> wrote:
>> On Thu, Nov 06, 2008 at 07:47:54AM +1100, Dave Chinner wrote:
>>>>> I think it's probably the only solution - we need to wait until
>>>>> the I_LOCK bit is cleared from the inode and AFAICT wait_on_inode()
>>>>> is the only way to do it.
>>>> Any resolution?
>>> I was waiting on a comment from Christoph. I'll cc him directly this
>>> time ;)
>> What comment do you expect from me? The fix looks correct, but at some
>> point you should probably run all these exports past Al to get another
>> review. Especially as he's doing major work in this area currently.
>
> OK, I have dropped the xfs tree for today. Let me know when it is sorted
> out.
Okay, your fix is in and it is building again.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: xfs tree build failure
2008-11-11 2:05 ` Lachlan McIlroy
@ 2008-11-11 2:11 ` Stephen Rothwell
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2008-11-11 2:11 UTC (permalink / raw)
To: lachlan
Cc: Dave Chinner, Christoph Hellwig, xfs-masters, linux-next,
linux-fsdevel, viro
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
Hi Lachlan,
On Tue, 11 Nov 2008 13:05:14 +1100 Lachlan McIlroy <lachlan@sgi.com> wrote:
>
> Okay, your fix is in and it is building again.
Thanks, I saw that this morning, so the xfs tree should be in linux-next
today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-11-11 2:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 2:23 linux-next: xfs tree build failure Stephen Rothwell
2008-10-30 9:08 ` Dave Chinner
2008-11-05 2:20 ` Stephen Rothwell
2008-11-05 20:47 ` Dave Chinner
2008-11-06 15:27 ` Christoph Hellwig
2008-11-07 5:06 ` Stephen Rothwell
2008-11-11 2:05 ` Lachlan McIlroy
2008-11-11 2:11 ` Stephen Rothwell
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).