This is the latest set of patches based on my conversations with Jan and Johannes. The biggest change has been changing the metadata accounting counters to be in bytes intead of pages in order to better support varying blocksizes. I've also stopped messing with the other pagecache related counters so we can keep them truly separate. Johannes suggested this change and I simply convert the bytes counter to pages when calculating dirty limits and such. The other big change is changing WB_WRITTEN/WB_DIRTIED to be in bytes instead of pages as well. This is just a name and accounting change, it doesn't really change the core logic at all. I'm sending this out ahead of my full battery of tests, but I want to get feedback on this direction as soon as possible. In the meantime I've changed my btrfs specific patches to work with these patches and am running long running tests now to verify everything still works. Thanks, Josef -- 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