• David Howells's avatar
    FS-Cache: Actually requeue an object when requested · 868411be
    David Howells authored
    FS-Cache objects have an FSCACHE_OBJECT_EV_REQUEUE event that can theoretically
    be raised to ask the state machine to requeue the object for further processing
    before the work function returns to the slow-work facility.
    
    However, fscache_object_work_execute() was clearing that bit before checking
    the event mask to see whether the object has any pending events that require it
    to be requeued immediately.
    
    Instead, the bit should be cleared after the check and enqueue.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    868411be
object.c 25.3 KB