xfs
[Top] [All Lists]

Issue: try to release page which still has unwritten blocks?

To: xfs@xxxxxxxxxxx
Subject: Issue: try to release page which still has unwritten blocks?
From: Mike Gao <ygao.linux@xxxxxxxxx>
Date: Wed, 25 Aug 2010 09:55:56 -0500
Cc: david@xxxxxxxxxxxxx, Christoph Hellwig <hch@xxxxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=HIsFVG8NEFy/BnxlYecIa3h0iIlIXSnlMGdU5xJqXlg=; b=aEgzjTBw/d3/UAEijWzAMa+5GMLhQs98ByJq6/busrW0MI+3czf11ZjWer9jrus1sH ZLwn0Ug37mZt7WJntXBpVNpPt2Ej4z4759ct4fHIyprX8NoMpNwLxdPxat5dH6/uHAbY pkNzWqQWZB9O0pPgbEFgTY/7EKzkD7D49dILM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=P4/GrXHeecktCXjU3Cp9jv2adygA2SVCd5LSSXYmaGXxODt+hcdhdv26THQA1TVm1s wWTMwmQwfN7cc6Zsc4MGUg/sV/kpSayKBTrU08a26DBCVJhhHvP2KUfhDqeBbAeJI7Bt CLoAREkLN5Vce4GylPF9Y5wjk5wdwGE/GZwHs=
Hi, there,

It seems that the block should be flushed out somewhere before we come to xfs_aops.c:1295.
This happens when I run xfstest 013. Can anybody take a look at this?

Thanks very much,
Mike

Filesystem "xxx": Disabling barriers, trial barrier write failed
XFS mounting filesystem xxx
BUG: warning at fs/xfs/linux-2.6/xfs_aops.c:1295/xfs_vm_releasepage()
2632fc40:  [<08059358>] dump_stack+0x1c/0x20
2632fc58:  [<08168ba5>] xfs_vm_releasepage+0x51/0x64
2632fc7c:  [<0808e568>] try_to_release_page+0x50/0x60
2632fc90:  [<080bfbdf>] block_invalidatepage+0xb8/0xc2
2632fcb4:  [<08168318>] xfs_vm_invalidatepage+0xe/0x12
2632fcc4:  [<08091e6b>] do_invalidatepage+0x1f/0x23
2632fcd4:  [<08091e89>] truncate_complete_page+0x1a/0x3e
2632fce8:  [<08091f5f>] truncate_inode_pages_range+0xb2/0x245
2632fd4c:  [<08092107>] truncate_inode_pages+0x15/0x1a
2632fd68:  [<080960e5>] vmtruncate+0x64/0xf4
2632fdb0:  [<081633e7>] xfs_setattr+0x387/0x8ac
2632fe24:  [<0816eb42>] xfs_vn_setattr+0x19/0x1d
2632fe38:  [<080b56bc>] notify_change+0xfc/0x27c
2632fe64:  [<080a31bc>] do_truncate+0x53/0x6c
2632feb4:  [<080a336b>] do_sys_truncate+0x196/0x1b7
2632ff38:  [<080a350d>] sys_truncate64+0x11/0x13
2632ff40:  [<0805b045>] handle_syscall+0x81/0x9c
2632ff8c:  [<0806937f>] userspace+0x210/0x267
2632ffdc:  [<0805ad8e>] fork_handler+0x74/0x7c
2632fffc:  [<a55a5a5a>] 0xa55a5a5a

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