From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 488B07FA8 for ; Thu, 11 Sep 2014 16:14:45 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay2.corp.sgi.com (Postfix) with ESMTP id 35368304032 for ; Thu, 11 Sep 2014 14:14:45 -0700 (PDT) Received: from bombadil.infradead.org ([198.137.202.9]) by cuda.sgi.com with ESMTP id 3ufwUh6lXsmHKGGa (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 11 Sep 2014 14:14:43 -0700 (PDT) Received: from hch by bombadil.infradead.org with local (Exim 4.80.1 #2 (Red Hat Linux)) id 1XSBhT-000146-4D for xfs@oss.sgi.com; Thu, 11 Sep 2014 21:14:43 +0000 Date: Thu, 11 Sep 2014 14:14:43 -0700 From: Christoph Hellwig Subject: more pagecache invalidation issues? Message-ID: <20140911211443.GA2191@infradead.org> MIME-Version: 1.0 Content-Disposition: inline List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com I just hit this with Linus' tree from a day or two ago when running xfstests in my 64-bit x86 kvm VM: [ 1810.820601] ------------[ cut here ]------------ [ 1810.821730] kernel BUG at ../fs/xfs/xfs_aops.c:1373! [ 1810.822881] invalid opcode: 0000 [#1] SMP [ 1810.823177] Modules linked in: [ 1810.823177] CPU: 0 PID: 5324 Comm: 4980.fsstress.b Not tainted 3.17.0-rc4+ #266 [ 1810.823177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007 [ 1810.823177] task: ffff88004fedc910 ti: ffff88000b340000 task.ti: ffff88000b340000 [ 1810.823177] RIP: 0010:[] [] __xfs_get_blocks+0x5cb/0x5d0 [ 1810.823177] RSP: 0018:ffff88000b343998 EFLAGS: 00010202 [ 1810.823177] RAX: ffff880079ddf580 RBX: 0000000000166000 RCX: ffff88004fedd0f8 [ 1810.823177] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000246 [ 1810.823177] RBP: ffff88000b343a38 R08: 0000000000000001 R09: 0000000000000000 [ 1810.823177] R10: 0000000000000000 R11: 00000000000785b0 R12: ffff88004863d9a0 [ 1810.823177] R13: ffff88004863d700 R14: ffff88000b343b50 R15: 0000000000000000 [ 1810.823177] FS: 00007ff4401c6700(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000 [ 1810.823177] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1810.823177] CR2: 00007ff4400c2008 CR3: 000000004fed3000 CR4: 00000000000006f0 [ 1810.823177] Stack: [ 1810.823177] ffff88000b343a18 0000000000005000 ffff88000b3439c8 ffff880000000000 [ 1810.823177] ffff880000000008 0000000000000166 000188004ff2e940 0000000000005000 [ 1810.823177] ffff88000b343a18 0000000100000202 000000000000015e ffffffffffffffff [ 1810.823177] Call Trace: [ 1810.823177] [] xfs_get_blocks_direct+0xf/0x20 [ 1810.823177] [] __blockdev_direct_IO+0x9ee/0x3340 [ 1810.823177] [] ? __xfs_get_blocks+0x5d0/0x5d0 [ 1810.823177] [] xfs_vm_direct_IO+0x130/0x150 [ 1810.823177] [] ? __xfs_get_blocks+0x5d0/0x5d0 [ 1810.823177] [] generic_file_read_iter+0x54a/0x610 [ 1810.823177] [] ? mark_held_locks+0x6a/0x90 [ 1810.823177] [] xfs_file_read_iter+0xf9/0x2b0 [ 1810.823177] [] ? might_fault+0x3e/0x90 [ 1810.823177] [] new_sync_read+0x79/0xb0 [ 1810.823177] [] vfs_read+0x9b/0x190 [ 1810.823177] [] SyS_read+0x51/0xc0 [ 1810.823177] [] system_call_fastpath+0x16/0x1b The BUG_ON is this one: if (imap.br_startblock == DELAYSTARTBLOCK) { BUG_ON(direct); if (create) { .. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs