From: Kevin Shanahan Subject: Re: More ext4 acl/xattr corruption - 4th occurence now Date: Thu, 14 May 2009 22:55:06 +0930 Message-ID: <20090514132506.GD5146@kulgan> References: <20090513062634.GE4972@kulgan> <20090514044011.GC11352@mit.edu> <20090514110659.GA5146@kulgan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org To: Theodore Tso Return-path: Received: from bowden.ucwb.org.au ([203.122.237.119]:56269 "EHLO mail.ucwb.org.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759274AbZENNZI (ORCPT ); Thu, 14 May 2009 09:25:08 -0400 Content-Disposition: inline In-Reply-To: <20090514110659.GA5146@kulgan> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, May 14, 2009 at 08:37:00PM +0930, Kevin Shanahan wrote: > Sure - now running with 2.6.29.3 + your patch. > > patching file fs/ext4/inode.c > Hunk #1 succeeded at 1040 with fuzz 1 (offset -80 lines). > Hunk #2 succeeded at 1113 (offset -81 lines). > Hunk #3 succeeded at 1184 (offset -93 lines). > > I'll report any hits for "check_block_validity" in syslog. That didn't take long: May 14 22:49:17 hermes kernel: EXT4-fs error (device dm-0): check_block_validity: inode #759 logical block 1741329 mapped to 529 (size 1) May 14 22:49:17 hermes kernel: Aborting journal on device dm-0:8. May 14 22:49:17 hermes kernel: ext4_da_writepages: jbd2_start: 293 pages, ino 759; err -30 May 14 22:49:17 hermes kernel: Pid: 374, comm: pdflush Not tainted 2.6.29.3 #1 May 14 22:49:17 hermes kernel: Call Trace: May 14 22:49:17 hermes kernel: [] ext4_da_writepages+0x211/0x427 May 14 22:49:17 hermes kernel: [] thread_return+0x3d/0xc3 May 14 22:49:17 hermes kernel: [] ext4_da_get_block_write+0x0/0x12d May 14 22:49:17 hermes kernel: [] do_writepages+0x20/0x2d May 14 22:49:17 hermes kernel: [] __writeback_single_inode+0x196/0x3a4 May 14 22:49:17 hermes kernel: [] del_timer_sync+0xc/0x16 May 14 22:49:17 hermes kernel: [] generic_sync_sb_inodes+0x2a7/0x439 May 14 22:49:17 hermes kernel: [] writeback_inodes+0x7d/0xcc May 14 22:49:17 hermes kernel: [] wb_kupdate+0x9f/0x116 May 14 22:49:17 hermes kernel: [] pdflush+0x125/0x1d2 May 14 22:49:17 hermes kernel: [] wb_kupdate+0x0/0x116 May 14 22:49:17 hermes kernel: [] pdflush+0x0/0x1d2 May 14 22:49:17 hermes kernel: [] kthread+0x47/0x73 May 14 22:49:17 hermes kernel: [] child_rip+0xa/0x20 May 14 22:49:17 hermes kernel: [] kthread+0x0/0x73 May 14 22:49:17 hermes kernel: [] child_rip+0x0/0x20 May 14 22:49:18 hermes kernel: Remounting filesystem read-only May 14 22:49:18 hermes kernel: ------------[ cut here ]------------ May 14 22:49:18 hermes kernel: WARNING: at fs/ext4/inode.c:1066 check_block_validity+0xd8/0xff() May 14 22:49:18 hermes kernel: Hardware name: S3210SH May 14 22:49:18 hermes kernel: Pid: 3351, comm: smbd Not tainted 2.6.29.3 #1 May 14 22:49:18 hermes kernel: Call Trace: May 14 22:49:18 hermes kernel: [] warn_slowpath+0xd3/0x10d May 14 22:49:18 hermes kernel: [] wake_bit_function+0x0/0x23 May 14 22:49:18 hermes kernel: [] sync_dirty_buffer+0x5f/0x97 May 14 22:49:18 hermes kernel: [] ext4_commit_super+0xbc/0x103 May 14 22:49:18 hermes kernel: [] ext4_handle_error+0x83/0xa9 May 14 22:49:18 hermes kernel: [] ext4_error+0x83/0x90 May 14 22:49:18 hermes kernel: [] ipt_do_table+0x308/0x32d May 14 22:49:18 hermes kernel: [] dequeue_task_fair+0x45/0x167 May 14 22:49:18 hermes kernel: [] check_block_validity+0xd8/0xff May 14 22:49:18 hermes kernel: [] ext4_get_blocks_wrap+0xb5/0x24f May 14 22:49:18 hermes kernel: [] ext4_da_get_block_prep+0x58/0x181 May 14 22:49:18 hermes kernel: [] __block_prepare_write+0x150/0x2c4 May 14 22:49:18 hermes kernel: [] ext4_da_get_block_prep+0x0/0x181 May 14 22:49:18 hermes kernel: [] add_to_page_cache_locked+0x73/0x95 May 14 22:49:18 hermes kernel: [] block_write_begin+0x7a/0xc7 May 14 22:49:18 hermes kernel: [] ext4_da_write_begin+0x166/0x1ed May 14 22:49:18 hermes kernel: [] ext4_da_get_block_prep+0x0/0x181 May 14 22:49:18 hermes kernel: [] generic_file_buffered_write+0x12c/0x2e8 May 14 22:49:18 hermes kernel: [] __generic_file_aio_write_nolock+0x25f/0x293 May 14 22:49:18 hermes kernel: [] generic_file_aio_write+0x64/0xc4 May 14 22:49:18 hermes kernel: [] ext4_file_write+0x93/0x118 May 14 22:49:18 hermes kernel: [] do_sync_write+0xce/0x113 May 14 22:49:18 hermes kernel: [] vfs_test_lock+0x2e/0x32 May 14 22:49:18 hermes kernel: [] autoremove_wake_function+0x0/0x2e May 14 22:49:18 hermes kernel: [] fcntl_setlk+0x24b/0x25c May 14 22:49:18 hermes kernel: [] vfs_write+0xa5/0xde May 14 22:49:18 hermes kernel: [] sys_pwrite64+0x57/0x77 May 14 22:49:18 hermes kernel: [] sys_fcntl+0x312/0x31e May 14 22:49:18 hermes kernel: [] system_call_fastpath+0x16/0x1b May 14 22:49:18 hermes kernel: ---[ end trace df4d7250236f7465 ]--- May 14 22:49:18 hermes kernel: EXT4-fs error (device dm-0) in ext4_da_write_begin: IO failure Any clues there? I don't think I'll be able to run this during the day if it's going to trigger and remount the fs read-only as easily as this. Cheers, Kevin.