xfs
[Top] [All Lists]

Re: [BUG] XFS: Assertion failed: atomic_read(&pag->pag_ref) == 0, file:

To: Arkadiusz BubaÅa <arkadiusz.bubala@xxxxxxxxxx>
Subject: Re: [BUG] XFS: Assertion failed: atomic_read(&pag->pag_ref) == 0, file: fs/xfs/xfs_mount.c, line: 272
From: Ben Myers <bpm@xxxxxxx>
Date: Tue, 21 May 2013 13:26:30 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <519B6915.2010407@xxxxxxxxxx>
References: <519B6738.9030603@xxxxxxxxxx> <519B6915.2010407@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
Hey Arkadiusz,

On Tue, May 21, 2013 at 02:31:17PM +0200, Arkadiusz BubaÅa wrote:
> On 21.05.2013 14:23, Arkadiusz BubaÅa wrote:
> >Hello,
> >I've got a call trace which should be fixed by "drop buffer io
> >reference when a bad bio is built" patch
> >(http://patchwork.xfs.org/patch/3956/). Error occured on already
> >patched Linux kernel 3.2.42.
> >
> >Test environment consist two machines target and initiator.
> >First machine works as target with QLogic Corp. ISP2432-based 4Gb
> >Fibre Channel device. Storage is placed on two KINGSTON SNV425S
> >SSD working as RAID0 array. RAID is managed by LSI MegaRAID SAS
> >1068 controller.
> >Second machine works as initiator with the same QLogic card.
> >
> >After few days of running test script I got following call trace
> >and XFS stopped working.
> >
> Sorry I provided incomplete dmesg logs. These should provide more
> information:
> 
> [90011.884812] XFS (dm-46): metadata I/O error: block 0x1 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90011.941376] XFS (dm-46): xlog_recover_check_summary agf read failed agno 0 
> error 5
> [90011.987890] XFS (dm-46): metadata I/O error: block 0x2 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.044179] XFS (dm-46): xlog_recover_check_summary agi read failed agno 0 
> error 5
> [90012.092176] XFS (dm-46): metadata I/O error: block 0x7d0001 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.150379] XFS (dm-46): xlog_recover_check_summary agf read failed agno 1 
> error 5
> [90012.196776] XFS (dm-46): metadata I/O error: block 0x7d0002 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.196780] XFS (dm-46): xlog_recover_check_summary agi read failed agno 1 
> error 5
> [90012.196791] XFS (dm-46): metadata I/O error: block 0xfa0001 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.196795] XFS (dm-46): xlog_recover_check_summary agf read failed agno 2 
> error 5
> [90012.196802] XFS (dm-46): metadata I/O error: block 0xfa0002 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.196806] XFS (dm-46): xlog_recover_check_summary agi read failed agno 2 
> error 5
> [90012.196813] XFS (dm-46): metadata I/O error: block 0x1770001 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.196817] XFS (dm-46): xlog_recover_check_summary agf read failed agno 3 
> error 5
> [90012.196823] XFS (dm-46): metadata I/O error: block 0x1770002 
> ("xfs_trans_read_buf") error 5 buf count 512
> [90012.196827] XFS (dm-46): xlog_recover_check_summary agi read failed agno 3 
> error 5
> [90012.196843] XFS (dm-46): metadata I/O error: block 0x40 
> ("xfs_trans_read_buf") error 5 buf count 8192
> [90012.196847] XFS (dm-46): xfs_imap_to_bp: xfs_trans_read_buf() returned 
> error 5.
> [90012.196852] XFS (dm-46): failed to read root inode
> [90012.196963] XFS: Assertion failed: atomic_read(&pag->pag_ref) == 0, file: 
> fs/xfs/xfs_mount.c, line: 272

Any 'xlog_space_left' messages as were reported with the commit you mentioned?
Have you attempted to backport the patch yet?

Regards,
        Ben

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