[Top] [All Lists]

Re: 2.6.2-rc2 nfsd+xfs spins in i_size_read()

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: 2.6.2-rc2 nfsd+xfs spins in i_size_read()
From: Miquel van Smoorenburg <miquels@xxxxxxxxxxx>
Date: Thu, 5 Feb 2004 13:30:37 +0100
Cc: Steve Lord <lord@xxxxxxx>, Nathan Scott <nathans@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040204181709.A21093@xxxxxxxxxxxxx> (from hch@xxxxxxxxxxxxx on Wed, Feb 04, 2004 at 19:17:09 +0100)
References: <bv8qr7$m2v$1@xxxxxxxxxxxxxxx> <20040129063009.GD2474@frodo> <bv8qr7$m2v$1@xxxxxxxxxxxxxxx> <20040128222521.75a7d74f.akpm@xxxxxxxx> <20040129063009.GD2474@frodo> <20040129232033.GA10541@xxxxxxxxxx> <20040204000315.A12127@xxxxxxxxxxxxx> <401FAC70.8070104@xxxxxxx> <20040204181709.A21093@xxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On 2004.02.04 19:17, Christoph Hellwig wrote:
> Here's a new diff, that should get rid of all the warnings except for
> O_DIRECT.  I've also addressed the comments from Dave and Steve.

This patch appears to work fine, but mkdir() still warns about i_size_write() :

i_size_write() called without i_sem
Call Trace:
 [<c013baf0>] i_size_write_check+0x61/0x63
 [<f8af2cef>] validate_fields+0xbf/0xdc [xfs]
 [<f8af2f38>] linvfs_mknod+0x22c/0x41d [xfs]
 [<c0236edd>] alloc_skb+0x47/0xe0
 [<c020b3d7>] e1000_alloc_rx_buffers+0x57/0xf2
 [<c020b04a>] e1000_clean_rx_irq+0x104/0x43a
 [<f8aaf3af>] xfs_dir2_lookup+0x14c/0x14e [xfs]
 [<f8ae0fd6>] xfs_dir_lookup_int+0x4c/0x12b [xfs]
 [<f8af3160>] linvfs_mkdir+0x2a/0x2e [xfs]
 [<c0163086>] vfs_mkdir+0x8d/0x104
 [<c01631b4>] sys_mkdir+0xb7/0xf7
 [<c010920f>] syscall_call+0x7/0xb


<Prev in Thread] Current Thread [Next in Thread>