SLOW_WORK: Wait for outstanding work items belonging to a module to clear
authorDavid Howells <dhowells@redhat.com>
Thu, 27 Aug 2009 11:20:48 +0000 (13:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 27 Aug 2009 11:49:12 +0000 (13:49 +0200)
commit56f7f5d346827db0890cac6613a62f286680389d
treeca6960327e7723a8bb6fed5ef366f78ace20d58a
parent1e23502cc57cef33455ac7cb9111e3c6d991a894
SLOW_WORK: Wait for outstanding work items belonging to a module to clear

Wait for outstanding slow work items belonging to a module to clear when
unregistering that module as a user of the facility.  This prevents the put_ref
code of a work item from being taken away before it returns.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Documentation/slow-work.txt
fs/fscache/main.c
fs/fscache/object.c
fs/fscache/operation.c
fs/gfs2/main.c
fs/gfs2/recovery.c
include/linux/slow-work.h
kernel/slow-work.c