Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761393AbXEPMwR (ORCPT ); Wed, 16 May 2007 08:52:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757241AbXEPMwK (ORCPT ); Wed, 16 May 2007 08:52:10 -0400 Received: from pat.uio.no ([129.240.10.15]:52097 "EHLO pat.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864AbXEPMwJ (ORCPT ); Wed, 16 May 2007 08:52:09 -0400 Subject: Re: (NFS) BUG: at page-writeback.c:829 [Was: 2.6.22-rc1-mm1] From: Trond Myklebust To: Jiri Slaby Cc: Andrew Morton , linux-kernel@vger.kernel.org In-Reply-To: <464AF4A6.5060000@gmail.com> References: <20070515201914.16944e04.akpm@linux-foundation.org> <464AF4A6.5060000@gmail.com> Content-Type: text/plain Date: Wed, 16 May 2007 08:52:02 -0400 Message-Id: <1179319922.6521.7.camel@heimdal.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-UiO-Resend: resent X-UiO-Spam-info: not spam, SpamAssassin (score=-0.1, required=12.0, autolearn=disabled, AWL=-0.142) X-UiO-Scanned: 6F1722DA78E7AAA34B888A40F659E5A54B0C8E54 X-UiO-Ratelimit-Test: Ratelimit X-UiO-SPAM-Test: UIO-RATELIMIT remote_host: 129.240.10.9 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 2099 total 1774469 max/h 8345 blacklist 0 greylist 0 ratelimit 1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2585 Lines: 64 On Wed, 2007-05-16 at 14:10 +0200, Jiri Slaby wrote: > Andrew Morton napsal(a): > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/ > > I've got this in dmesg: > > BUG: at /local/xslaby/xxx/mm/page-writeback.c:829 __set_page_dirty_nobuffers() > [] dump_trace+0x1ce/0x200 > [] show_trace_log_lvl+0x1a/0x30 > [] show_trace+0x12/0x20 > [] dump_stack+0x16/0x20 > [] __set_page_dirty_nobuffers+0x11d/0x130 > [] redirty_page_for_writepage+0x10/0x20 > [] __block_write_full_page+0x20c/0x330 > [] block_write_full_page+0xea/0x100 > [] blkdev_writepage+0x12/0x20 > [] __writepage+0xe/0x30 > [] write_cache_pages+0x222/0x340 > [] generic_writepages+0x23/0x30 > [] do_writepages+0x2e/0x50 > [] __writeback_single_inode+0x8b/0x470 > [] generic_sync_sb_inodes+0x24b/0x470 > [] sync_sb_inodes+0x27/0x30 > [] writeback_inodes+0xb3/0xe0 > [] wb_kupdate+0x82/0xf0 > [] pdflush+0xeb/0x1b0 > [] kthread+0x42/0x70 > [] kernel_thread_helper+0x7/0x1c > ======================= > BUG: at /local/xslaby/xxx/mm/page-writeback.c:829 __set_page_dirty_nobuffers() > [] dump_trace+0x1ce/0x200 > [] show_trace_log_lvl+0x1a/0x30 > [] show_trace+0x12/0x20 > [] dump_stack+0x16/0x20 > [] __set_page_dirty_nobuffers+0x11d/0x130 > [] nfs_updatepage+0x7b/0x200 [nfs] > [] nfs_commit_write+0x2f/0x50 [nfs] > [] generic_file_buffered_write+0x2a1/0x660 > [] __generic_file_aio_write_nolock+0x282/0x520 > [] generic_file_aio_write+0x62/0xd0 > [] nfs_file_write+0xef/0x1c0 [nfs] > [] do_sync_write+0xd0/0x110 > [] vfs_write+0x94/0x130 > [] sys_write+0x3d/0x70 > [] syscall_call+0x7/0xb > [] 0xb7eb7b3e > ======================= > > regards, The first Oops is not NFS: it is some block file system, however the problem is the same. The crux of the matter would appear to be that some task is changing the page_mapping() of random pages while the page lock is held by another task. Do you see the same thing in mainline? Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/