[Linux-cachefs] [PATCH 0/8] ceph: fscache support & upstream changes

David Howells dhowells at redhat.com
Mon Sep 9 10:17:58 UTC 2013


Milosz Tanski <milosz at adfin.com> wrote:

> -               (1 << FSCACHE_OP_WAITING);
> +               (1 << FSCACHE_OP_WAITING) |
> +               (1 << FSCACHE_OP_UNUSE_COOKIE);

Yeah...  That'll do it.  We could just decrement n_active directly after
calling into the backend - after all, we cannot reduce n_active to 0 here
because the netfs cannot be calling fscache_relinquish_cookie() whilst also
calling this function - but this will do too.

David




More information about the Linux-cachefs mailing list