freebsd-skq/sys/geom
Pawel Jakub Dawidek 0c879bd990 Before this change when GELI detected hardware crypto acceleration it will
start only one worker thread. For software crypto it will start by default
N worker threads where N is the number of available CPUs.

This is not optimal if hardware crypto is AES-NI, which uses CPU for AES
calculations.

Change that to always start one worker thread for every available CPU.
Number of worker threads per GELI provider can be easly reduced with
kern.geom.eli.threads sysctl/tunable and even for software crypto it
should be reduced when using more providers.

While here, when number of threads exceeds number of CPUs avilable don't
reduce this number, assume the user knows what he is doing.

Reported by:	Yuri Karaban <dev@dev97.com>
MFC after:	3 days
2011-10-27 16:12:25 +00:00
..
bde Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
cache Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
concat Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
eli Before this change when GELI detected hardware crypto acceleration it will 2011-10-27 16:12:25 +00:00
gate Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
journal Removed KASSERT, g_new_providerf() can not fail. 2011-05-04 18:06:40 +00:00
label Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
linux_lvm Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
mirror Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
mountver Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
multipath Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
nop Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
part Add support for Boot Camp. The support is defined as follows: 2011-10-23 02:51:23 +00:00
raid Clarify disks/volumes above 2TiB support in geom_raid: 2011-10-26 21:50:10 +00:00
raid3 Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
sched Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
shsec Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
stripe Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
uzip Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
vinum Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
virstor Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
zero In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case. 2010-05-10 19:08:53 +00:00
geom_aes.c
geom_bsd_enc.c
geom_bsd.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_ccd.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_ctl.c Finish r210923, 210926. Mark some devices as eternal. 2011-01-04 10:59:38 +00:00
geom_ctl.h
geom_dev.c Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
geom_disk.c Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not 2011-10-25 14:07:17 +00:00
geom_disk.h Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
geom_dump.c Do not hide stripeoffset from libgeom(3), it may be useful even when 2011-06-02 12:49:45 +00:00
geom_event.c Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
geom_fox.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_int.h
geom_io.c Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. 2010-09-02 19:40:28 +00:00
geom_kern.c Move the three geom kprocs as threads under a single pid. 2011-05-11 21:47:30 +00:00
geom_map.c Updates to geom_map from the author. 2011-05-05 14:43:09 +00:00
geom_mbr_enc.c
geom_mbr.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom_pc98_enc.c
geom_pc98.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_redboot.c - Give geom_redboot taste of flash/spi. Now there is another provider 2010-02-03 01:12:19 +00:00
geom_slice.c Change the way in which zero stripesize is handled. Instead of reporting 2010-01-06 13:14:37 +00:00
geom_slice.h
geom_subr.c Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_vfs.c Allow disk partitions associated with UFS read-only mounted 2011-07-10 00:41:31 +00:00
geom_vfs.h
geom_vol_ffs.c Add some FEATURE macros for various GEOM classes. 2011-02-25 10:24:35 +00:00
geom.h Add some spare fields to the g_class and g_geom structures needed to implement 2011-07-17 20:35:30 +00:00
notes