On Thu, May 17, 2018 at 11:14:46AM +0300, Nikolay Borisov wrote: > srclen comes from the async_extent struct, which in turns is > initialized in compress_file_range with the value of "total_compressed", > and the value there is actually initialized by > btrfs_compress_pages->lzo_compress_pages (that code makes me wanna sing > "You spin me right round, baby Right round like a record, baby").
I have a dusted patch that reworks the whole loop to something more understandable, I can post it with some other pending compression updates. -- 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