Maybe a starting point. https://oss.oracle.com/~mason/seekwatcher/
This shows write patterns, not current state fragmentation. So it's less useful for what you're asking, and more useful for what I was suggesting as a batched snapshot delete strategy. Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html