Dave Wysochanski <dwyso...@redhat.com> wrote:

> +             clear_bit(FSCACHE_COOKIE_DO_LRU_DISCARD, &cookie->flags);

Actually, can you do test_and_clear_bit() and then log a trace point, say:

        fscache_see_cookie(cookie, fscache_cookie_see_lru_discard_cancel);

if the bit was set.

David

--
Linux-cachefs mailing list
Linux-cachefs@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-cachefs

Reply via email to