On Wed, Jul 17, 2013 at 06:28:40PM -0400, sheng qiu wrote: > Hi Kent, > > Thanks for you previous reply. I know bcache does not care write hit, > but is there a easy way to check write hit for write request? > If i reuse the search_recurse() as what you do for read request, will > it has any impact? Well, the question would be where you would track it - for read hits, we're tracking by bucket on the cache device, not by lba on the backing device. But since writes are always COW - they're always going to a new bucket - tracking write hits by bucket wouldn't really make sense. What are you trying to do? -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html