On Wed, 2014-01-08 at 12:40 -0800, Muthu Kumar wrote: +AD4- On Wed, Jan 8, 2014 at 12:16 PM, Chris Mason +ADw-clm+AEA-fb.com+AD4- wrote: +AD4- +AD4- On Wed, 2014-01-08 at 11:54 -0800, Muthu Kumar wrote: +AD4- +AD4APg- Chris, +AD4- +AD4APg- +AD4- +AD4APg- +AFs- 8.336061+AF0- WARNING: CPU: 0 PID: 0 at fs/bio.c:1778 bio+AF8-endio+-0xbe/0x100() +AD4- +AD4APg- +AFs- 8.336062+AF0- bio+AF8-endio: bio for (unknown) without endio +AD4- +AD4APg- +AD4- +AD4APg- This is my recent change to avoid memory leak in bio+AF8-endio. But I +AD4- +AD4APg- think the problem is higher up, most likely bio+AF8-endio is called twice +AD4- +AD4APg- on the same bio (which was freed before). +AD4- +AD4APg- +AD4- +AD4- +AD4- +AD4- I think these are just two separate problems. Lets ignore the WARN+AF8-ON +AD4- +AD4- for now. +AD4- +AD4- +AD4- +AD4- Not really... the BUG that is triggered: +AD4- +AD4- kernel BUG at fs/bio.c:523+ACE- +AD4- +AD4- It is in bio+AF8-put() (added to bio+AF8-endio() as part of recent change) +AD4- which gets an already freed bio. +AD4- Oh+ACE- I see. Let me try with that one reverted. Thanks+ACE- -chris -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html