block_truncate_page bug?

From: Ben Fennema (bfennema@falcon.csc.calpoly.edu)
Date: Mon Oct 02 2000 - 04:21:02 EST


I'm getting calls to end_buffer_io_bad caused by block_truncate_page.

The path that is causing it is a update page with no buffers, so
create_empty_buffers gets called. (w/ all the buffers io set to
end_buffer_io_bad). Since the page is uptodate, the buffer is set to be
update and the b_end_io is never change to end_buffer_io_sync. Then,
the buffer is marked dirty. When the end_io function is called, BUG (and
hard lockup of system).

Am I not supposed to be calling block_truncate_page on a uptodate page with
no buffers, or is it something that fell through the cracks?

Ben

-- 
Linux UDF - http://linux-udf.sourceforge.net
Latest Is - udf-0.9.2.1 (http://www.csc.calpoly.edu/~bfennema/udf.html)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:09 EST