BUG() in end_page_writeback(), stack overflows and system speed decrease with XFS over USB

Dave Chinner david at fromorbit.com
Sat Nov 21 16:04:44 CST 2009


On Sat, Nov 21, 2009 at 06:33:20PM +0100, Juergen Urban wrote:
> Can someone explain the purpose of the BUG() in end_page_writeback()? Can I 
> remove the line?

A page that is under writeback is supposed to have the PG_writeback
flag set. Hence when writeback is completed (i.e the page is now
clean) we need to clear the PG_writeback bit. The BUG is triggered
if we are ending writeback on a page that does not have PG_writeback
set. IOWs, something is seriously wrong, and could be a memory error
or memory corruption.

> Will XFS also work if I disable all address operations?

No.

> What is the purpose of the address operations?

Reading Documentation/filesystems/vfs.txt might answer your
questions....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list