Commit ee2be7d7 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async



Function gfs2_glock_queue_put() puts a glock reference by enqueuing
glock work instead of putting the reference directly.  This ensures that
the operation won't sleep, but it is costly and really only necessary
when putting the final glock reference.  Replace it with a new
gfs2_glock_put_async() function that only queues glock work when putting
the last glock reference.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent f80d882e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment