Re: easily reproducible filesystem crash on rebuilding array

Emmanuel Florac
2014-12-15T12:25:03Z

Le Mon, 15 Dec 2014 13:07:15 +0100
Emmanuel Florac <eflorac@intellique.com> écrivait:

> Dec 12 00:40:18 TEST-ADAPTEC kernel: XFS (dm-0):
> xfs_do_force_shutdown(0x1) called from line 383 of file
> fs/xfs/xfs_trans_buf.c. Return address = 0xffffffff8125cc90
> Dec 12 00:40:31 TEST-ADAPTEC kernel: XFS (dm-0): xfs_log_force: error
> 5 returned.
> Dec 12 00:41:02 TEST-ADAPTEC kernel: XFS (dm-0): xfs_log_force: error
> 5 returned.
>

Reading the source I see that the error occured in xfs_buf_read_map, I
suppose it's when xfsbufd tries to scan dirty metadata? This is a read
error, so it could very well be a simple IO starvation at the controller
level (as the controller probably gives priority to whatever writes are
pending over reads).

Maybe setting xfsbufd_centisecs to the max could help here? Trying
right away... Any advice welcome.