aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/backend-api.txt
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2009-04-03 15:42:35 +0000
committerDavid Howells <[email protected]>2009-04-03 15:42:35 +0000
commit07fe7cb7c7c179f473fd9c823348fd3eb5dad369 (patch)
tree516c959de929a4c39870629e550b3307601fa73f /Documentation/filesystems/caching/backend-api.txt
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadkernel-07fe7cb7c7c179f473fd9c823348fd3eb5dad369.tar.gz
kernel-07fe7cb7c7c179f473fd9c823348fd3eb5dad369.zip
Create a dynamically sized pool of threads for doing very slow work items
Create a dynamically sized pool of threads for doing very slow work items, such as invoking mkdir() or rmdir() - things that may take a long time and may sleep, holding mutexes/semaphores and hogging a thread, and are thus unsuitable for workqueues. The number of threads is always at least a settable minimum, but more are started when there's more work to do, up to a limit. Because of the nature of the load, it's not suitable for a 1-thread-per-CPU type pool. A system with one CPU may well want several threads. This is used by FS-Cache to do slow caching operations in the background, such as looking up, creating or deleting cache objects. Signed-off-by: David Howells <[email protected]> Acked-by: Serge Hallyn <[email protected]> Acked-by: Steve Dickson <[email protected]> Acked-by: Trond Myklebust <[email protected]> Acked-by: Al Viro <[email protected]> Tested-by: Daire Byrne <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.txt')
0 files changed, 0 insertions, 0 deletions