On 08/30/2011 12:53 PM, Sergei Trofimovich wrote: >> Running 'sync' program after the load does not finish and eats >> 100%CPU busy-waiting for something in kernel. >> >> It's easy to reproduce hang with patch for me. I just run >> liferea and sync after it. Without patch I haven't managed to >> hang btrfs up. > > And I think it's another btrfs bug. I've managed to reproduce it > _without_ your patch and _without_ autodefrag enabled by manually > running the following commands: $ btrfs fi defrag > file-with-20_000-extents $ sync > > I think your patch just shuffles things a bit and forces > autodefrag races to pop-up sooner (which is good! :]) > Sergei, can you do sysrq+w when this is happening, and maybe turn on the softlockup detector so we can see where sync is getting stuck? Thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
