linux-kernel-test/fs/fscache
Tejun Heo 8af7c12436 fscache: convert operation to use workqueue instead of slow-work
Make fscache operation to use only workqueue instead of combination of
workqueue and slow-work.  FSCACHE_OP_SLOW is dropped and
FSCACHE_OP_FAST is renamed to FSCACHE_OP_ASYNC and uses newly added
fscache_op_wq workqueue to execute op->processor().
fscache_operation_init_slow() is dropped and fscache_operation_init()
now takes @processor argument directly.

* Unbound workqueue is used.

* fscache_retrieval_work() is no longer necessary as OP_ASYNC now does
  the equivalent thing.

* sysctl fscache.operation_max_active added to control concurrency.
  The default value is nr_cpus clamped between 2 and
  WQ_UNBOUND_MAX_ACTIVE.

* debugfs support is dropped for now.  Tracing API based debug
  facility is planned to be added.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Howells <dhowells@redhat.com>
2010-07-22 22:58:47 +02:00
..
cache.c FS-Cache: Add counters for entry/exit to/from cache operation functions 2009-11-19 18:11:08 +00:00
cookie.c FS-Cache: Add a retirement stat counter 2009-11-19 18:11:38 +00:00
fsdef.c FS-Cache: Root index definition 2009-04-03 16:42:37 +01:00
histogram.c
internal.h fscache: convert operation to use workqueue instead of slow-work 2010-07-22 22:58:47 +02:00
Kconfig FS-Cache: Remove the EXPERIMENTAL flag 2010-03-08 07:32:34 -08:00
main.c fscache: convert operation to use workqueue instead of slow-work 2010-07-22 22:58:47 +02:00
Makefile FS-Cache: Allow the current state of all objects to be dumped 2009-11-19 18:11:04 +00:00
netfs.c FS-Cache: Add netfs registration 2009-04-03 16:42:38 +01:00
object-list.c fscache: convert object to use workqueue instead of slow-work 2010-07-22 22:58:34 +02:00
object.c fscache: convert object to use workqueue instead of slow-work 2010-07-22 22:58:34 +02:00
operation.c fscache: convert operation to use workqueue instead of slow-work 2010-07-22 22:58:47 +02:00
page.c fscache: convert operation to use workqueue instead of slow-work 2010-07-22 22:58:47 +02:00
proc.c FS-Cache: Allow the current state of all objects to be dumped 2009-11-19 18:11:04 +00:00
stats.c fs-cache: order the debugfs stats correctly 2010-04-07 08:38:05 -07:00