]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
knfsd: convert knfsd to kthread API
authorJeff Layton <jlayton@redhat.com>
Tue, 10 Jun 2008 12:40:38 +0000 (08:40 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 23 Jun 2008 17:02:49 +0000 (13:02 -0400)
commit9867d76ca16b3f455f9ca83861f4ce5c94a25928
tree1715f69545bf6e766e6e18b33c39270ea7bd15ce
parente096bbc6488d3e49d476bf986d33752709361277
knfsd: convert knfsd to kthread API

This patch is rather large, but I couldn't figure out a way to break it
up that would remain bisectable. It does several things:

- change svc_thread_fn typedef to better match what kthread_create expects
- change svc_pool_map_set_cpumask to be more kthread friendly. Make it
  take a task arg and and get rid of the "oldmask"
- have svc_set_num_threads call kthread_create directly
- eliminate __svc_create_thread

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c