cvs commit: src/sys/geom/eli g_eli.c

2008-08-12 Thread Pawel Jakub Dawidek
pjd 2008-08-12 20:19:08 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: SVN rev 181646 on 2008-08-12 20:19:08Z by pjd Style(9). Revision ChangesPath 1.41 +4 -3 src/sys/geom/eli/g_eli.c

cvs commit: src/sys/geom/eli g_eli.c

2008-07-20 Thread Pawel Jakub Dawidek
pjd 2008-07-20 19:56:13 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: SVN rev 180638 on 2008-07-20 19:56:13Z by pjd Clear passphrase buffer after use. Submitted by: Fabian Keil [EMAIL PROTECTED] (a bit different version)

cvs commit: src/sys/geom/eli g_eli.c

2007-04-08 Thread Pawel Jakub Dawidek
pjd 2007-04-08 23:54:23 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Use root_mounted(). Revision ChangesPath 1.37 +1 -1 src/sys/geom/eli/g_eli.c ___ cvs-all@freebsd.org mailing

cvs commit: src/sys/geom/eli g_eli.c

2007-03-02 Thread Pawel Jakub Dawidek
pjd 2007-03-02 09:38:16 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Fix geli after last commit for UP systems that are running SMP kernel. Submitted by: Hyo geol, Lee [EMAIL PROTECTED] MFC after: 1 week Revision Changes

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-31 Thread Scott Long
Pawel Jakub Dawidek wrote: On Tue, Jan 30, 2007 at 04:36:36PM -0500, John Baldwin wrote: On Monday 29 January 2007 15:19, Pawel Jakub Dawidek wrote: I fully agree that there should be a clean KPI for this. What you proposed if fine. Because of lack of such KPI geli has to handle HTT CPUs which

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-31 Thread Pawel Jakub Dawidek
On Wed, Jan 31, 2007 at 01:08:14PM -0500, John Baldwin wrote: [...] Anyways, maybe this issue will bubble up to someone's todo list at BSDCan to settle how to handle CPU's arriving and departing. One big thing that worries me is how to handle pinned and bound threads when a CPU goes away.

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-31 Thread Nate Lawson
John Baldwin wrote: I wouldn't sell yourself so short actually. :) You're probably more competent than you think. I'm not really an expert on SMP or schedulers either (I've not had any formal training, and if you were to review some of my earlier SMP stuff it shows), but ended up working on

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-30 Thread John Baldwin
On Monday 29 January 2007 15:19, Pawel Jakub Dawidek wrote: I fully agree that there should be a clean KPI for this. What you proposed if fine. Because of lack of such KPI geli has to handle HTT CPUs which are turned off by default in releases also by abusing scheduler internals. KPI you

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-30 Thread Pawel Jakub Dawidek
On Tue, Jan 30, 2007 at 04:36:36PM -0500, John Baldwin wrote: On Monday 29 January 2007 15:19, Pawel Jakub Dawidek wrote: I fully agree that there should be a clean KPI for this. What you proposed if fine. Because of lack of such KPI geli has to handle HTT CPUs which are turned off by

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Pawel Jakub Dawidek
On Sun, Jan 28, 2007 at 09:14:58PM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: pjd 2007-01-28 20:29:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: It is possible that GEOM taste provider before SMP is started. We can't bind to

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Nate Lawson
Pawel Jakub Dawidek wrote: On Sun, Jan 28, 2007 at 09:14:58PM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: pjd 2007-01-28 20:29:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: It is possible that GEOM taste provider before SMP is started.

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Pawel Jakub Dawidek
On Mon, Jan 29, 2007 at 10:07:24AM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: Hmm, I thought that cold is zeroed before smp_started is set? I don't think that's guaranteed. Besides, there's an easier way to fix your problem. Instead of calling kthread_create() from your geom

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Scott Long
Pawel Jakub Dawidek wrote: On Mon, Jan 29, 2007 at 10:07:24AM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: Hmm, I thought that cold is zeroed before smp_started is set? I don't think that's guaranteed. Besides, there's an easier way to fix your problem. Instead of calling

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Pawel Jakub Dawidek
On Mon, Jan 29, 2007 at 12:10:47PM -0700, Scott Long wrote: Pawel Jakub Dawidek wrote: On Mon, Jan 29, 2007 at 10:07:24AM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: Hmm, I thought that cold is zeroed before smp_started is set? I don't think that's guaranteed. Besides, there's an

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Robert Watson
On Mon, 29 Jan 2007, Pawel Jakub Dawidek wrote: Why? You're proposing yet another intrusive change to the kernel to handle yet another one-off requirement of your code. Why not do what I suggested before with hooking the appropriate SYSINIT in your module? Or why not follow Robert's

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Pawel Jakub Dawidek
On Mon, Jan 29, 2007 at 07:52:20PM +, Robert Watson wrote: On Mon, 29 Jan 2007, Pawel Jakub Dawidek wrote: Why? You're proposing yet another intrusive change to the kernel to handle yet another one-off requirement of your code. Why not do what I suggested before with hooking the

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-29 Thread Nate Lawson
Pawel Jakub Dawidek wrote: On Mon, Jan 29, 2007 at 10:07:24AM -0800, Nate Lawson wrote: Pawel Jakub Dawidek wrote: Hmm, I thought that cold is zeroed before smp_started is set? I don't think that's guaranteed. Besides, there's an easier way to fix your problem. Instead of calling

cvs commit: src/sys/geom/eli g_eli.c

2007-01-28 Thread Pawel Jakub Dawidek
pjd 2007-01-28 20:29:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: It is possible that GEOM taste provider before SMP is started. We can't bind to a CPU which is not yet on-line, so add code that wait for CPUs to go on-line before

Re: cvs commit: src/sys/geom/eli g_eli.c

2007-01-28 Thread Nate Lawson
Pawel Jakub Dawidek wrote: pjd 2007-01-28 20:29:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: It is possible that GEOM taste provider before SMP is started. We can't bind to a CPU which is not yet on-line, so add code that wait for

cvs commit: src/sys/geom/eli g_eli.c

2006-12-02 Thread Pawel Jakub Dawidek
pjd 2006-12-02 08:49:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c Log: MFC:sys/geom/eli/g_eli.c1.32,1.33 Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from

cvs commit: src/sys/geom/eli g_eli.c

2006-12-02 Thread Pawel Jakub Dawidek
pjd 2006-12-02 08:52:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6_2) sys/geom/eli g_eli.c Log: MFC:sys/geom/eli/g_eli.c1.32,1.33 Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from

cvs commit: src/sys/geom/eli g_eli.c

2006-11-02 Thread Pawel Jakub Dawidek
pjd 2006-11-02 09:01:34 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: I want CPU number here. Noticed by: ru Revision ChangesPath 1.33 +1 -1 src/sys/geom/eli/g_eli.c ___

cvs commit: src/sys/geom/eli g_eli.c

2006-11-01 Thread Pawel Jakub Dawidek
pjd 2006-11-01 16:05:07 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from the thread. Function g_eli_cpu_is_disabled() stoled from kern_pmc.c.

cvs commit: src/sys/geom/eli g_eli.c g_eli_ctl.c src/sys/geom/label g_label_msdosfs.c g_label_msdosfs.h src/sys/geom/nop g_nop.h

2006-09-30 Thread Pawel Jakub Dawidek
pjd 2006-09-30 08:16:49 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c g_eli_ctl.c sys/geom/label g_label_msdosfs.c g_label_msdosfs.h sys/geom/nop g_nop.h Log: Remove trailing spaces. Revision ChangesPath 1.30

cvs commit: src/sys/geom/eli g_eli.c g_eli.h

2006-08-11 Thread Pawel Jakub Dawidek
pjd 2006-08-11 19:09:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c g_eli.h Log: Before using byte offset for IV creation, covert it to little endian. This way one will be able to use provider encrypted on eg. i386 on eg. sparc64. This doesn't

cvs commit: src/sys/geom/eli g_eli.c

2006-08-01 Thread Yar Tikhiy
yar 2006-08-01 09:47:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c Log: MFC rev. 1.27: Fix a misspelled module name. Revision ChangesPath 1.3.2.11 +1 -1 src/sys/geom/eli/g_eli.c

cvs commit: src/sys/geom/eli g_eli.c

2006-07-27 Thread Yar Tikhiy
yar 2006-07-27 11:52:12 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Fix what looks like a typo: MODULE_DEPEND() takes module names, not KLD file names; and GELI module's name is g_eli, not geom_eli. Approved by:pjd (silence) MFC

Re: cvs commit: src/sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_integrity.c g_eli_key.c g_eli_privacy.c

2006-06-06 Thread Pawel Worach
Pawel Jakub Dawidek wrote: pjd 2006-06-05 21:38:54 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_key.c Added files: sys/geom/eli g_eli_integrity.c g_eli_privacy.c Log: Implement data integrity verification

Re: cvs commit: src/sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_integrity.c g_eli_key.c g_eli_privacy.c

2006-06-06 Thread Pawel Jakub Dawidek
On Tue, Jun 06, 2006 at 04:19:47PM +0200, Pawel Worach wrote: + Pawel Jakub Dawidek wrote: + pjd 2006-06-05 21:38:54 UTC + FreeBSD src repository + Modified files: + sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_key.c Added files: + sys/geom/eli

cvs commit: src/sys/geom/eli g_eli.c

2006-06-05 Thread Pawel Jakub Dawidek
pjd 2006-06-05 21:25:19 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Make kern.geom.eli.overwrites sysctl a tunable as well. Revision ChangesPath 1.25 +1 -0 src/sys/geom/eli/g_eli.c

cvs commit: src/sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_integrity.c g_eli_key.c g_eli_privacy.c

2006-06-05 Thread Pawel Jakub Dawidek
pjd 2006-06-05 21:38:54 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c g_eli.h g_eli_ctl.c g_eli_key.c Added files: sys/geom/eli g_eli_integrity.c g_eli_privacy.c Log: Implement data integrity verification (data authentication) for

cvs commit: src/sys/geom/eli g_eli.c g_eli_crypto.c

2006-05-10 Thread Pawel Jakub Dawidek
pjd 2006-05-10 07:22:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c g_eli_crypto.c Log: MFC:sys/geom/eli/g_eli.c1.22,1.23,1.24 sys/geom/eli/g_eli_crypto.c 1.3 Sync geli with HEAD. -

cvs commit: src/sys/geom/eli g_eli.c g_eli_crypto.c

2006-04-20 Thread Pawel Jakub Dawidek
pjd 2006-04-20 06:33:46 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c g_eli_crypto.c Log: geli(8) provides keys on newsession time, so remove CRD_F_KEY_EXPLICIT flag as HW crypto drivers don't support it. Revision ChangesPath 1.24

cvs commit: src/sys/geom/eli g_eli.c

2006-04-15 Thread Pawel Jakub Dawidek
pjd 2006-04-15 18:30:42 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Correct debug: we are sending child bio here, not parent bio. MFC after: 1 week Revision ChangesPath 1.23 +2 -2 src/sys/geom/eli/g_eli.c

cvs commit: src/sys/geom/eli g_eli.c

2006-04-12 Thread Pawel Jakub Dawidek
pjd 2006-04-12 12:18:45 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Pass BIO_GETATTR requests down. MFC after: 1 week Revision ChangesPath 1.22 +14 -5 src/sys/geom/eli/g_eli.c

Re: cvs commit: src/sys/geom/eli g_eli.c src/sys/geom/gate g_gate.c g_gate.h src/sys/geom/mirror g_mirror.c src/sys/geom/nop g_nop.c src/sys/geom/raid3 g_raid3.c src/sys/geom/shsec g_shsec.c

2006-04-06 Thread Robert Watson
On Wed, 5 Apr 2006, Pawel Jakub Dawidek wrote: Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c sys/geom/gateg_gate.c g_gate.h sys/geom/mirror g_mirror.c sys/geom/nop g_nop.c sys/geom/raid3 g_raid3.c sys/geom/shsec

Re: cvs commit: src/sys/geom/eli g_eli.c src/sys/geom/gate g_gate.c g_gate.h src/sys/geom/mirror g_mirror.c src/sys/geom/nop g_nop.c src/sys/geom/raid3 g_raid3.c src/sys/geom/shsec g_shsec.c g_shsec.h

2006-04-06 Thread Pawel Jakub Dawidek
On Thu, Apr 06, 2006 at 09:14:10AM +0100, Robert Watson wrote: + On Wed, 5 Apr 2006, Pawel Jakub Dawidek wrote: + + Modified files:(Branch: RELENG_6) +sys/geom/eli g_eli.c +sys/geom/gateg_gate.c g_gate.h +sys/geom/mirror g_mirror.c +sys/geom/nop

cvs commit: src/sys/geom/eli g_eli.c

2006-04-05 Thread Pawel Jakub Dawidek
pjd 2006-04-05 22:07:31 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Typos. Revision ChangesPath 1.21 +1 -1 src/sys/geom/eli/g_eli.c ___ cvs-all@freebsd.org mailing list

cvs commit: src/sys/geom/eli g_eli.c src/sys/geom/gate g_gate.c g_gate.h src/sys/geom/mirror g_mirror.c src/sys/geom/nop g_nop.c src/sys/geom/raid3 g_raid3.c src/sys/geom/shsec g_shsec.c g_shsec.h src

2006-04-05 Thread Pawel Jakub Dawidek
pjd 2006-04-05 22:12:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c sys/geom/gateg_gate.c g_gate.h sys/geom/mirror g_mirror.c sys/geom/nop g_nop.c sys/geom/raid3 g_raid3.c

cvs commit: src/sys/geom/eli g_eli.c

2006-02-11 Thread Christian Brueffer
brueffer2006-02-11 08:25:22 UTC FreeBSD src repository (doc committer) Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c Log: MFC: rev. 1.18 Clean up some sysctl descriptions, debug messages etc. Approved by:re (scottl) Revision Changes

cvs commit: src/sys/geom/eli g_eli.c

2006-02-11 Thread Pawel Jakub Dawidek
pjd 2006-02-11 13:08:24 UTC FreeBSD src repository Modified files: sys/geom/eli g_eli.c Log: Teach geli how to load keyfiles before root file system is mounted. An example entries for loader.conf to make it possible: geli_da0_keyfile0_load=YES

cvs commit: src/sys/geom/eli g_eli.c

2006-02-07 Thread Christian Brueffer
brueffer2006-02-07 17:23:22 UTC FreeBSD src repository (doc committer) Modified files: sys/geom/eli g_eli.c Log: Clean up some sysctl descriptions, debug messages etc. Approved by:pjd MFC after: 3 days Revision ChangesPath 1.18 +7 -7

cvs commit: src/sys/geom/eli g_eli.c g_eli_ctl.c

2006-01-17 Thread Pawel Jakub Dawidek
pjd 2006-01-17 09:28:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/geom/eli g_eli.c g_eli_ctl.c Log: MFC:Sync with HEAD. Revision ChangesPath 1.3.2.6 +1 -4 src/sys/geom/eli/g_eli.c 1.1.2.3 +10 -6