-2005 The FreeBSD Project
+.\ Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
.\ All rights reserved.
.\
.\ Redistribution and use in source and binary forms, with or without
@@ -26,7 +27,7 @@
.\From: @(#)style 1.14 (Berkeley) 4/28/95
.\ $FreeBSD$
.\
-.Dd December 17, 2008
+.Dd
Author: pjd
Date: Tue Dec 14 06:19:13 2010
New Revision: 216427
URL: http://svn.freebsd.org/changeset/base/216427
Log:
Just pass M_ZERO to malloc(9) instead of clearing allocated memory separately.
Modified:
head/sys/kern/uipc_syscalls.c
Modified: head/sys/kern/uipc_syscalls.c
Author: pjd
Date: Sat Dec 11 16:06:52 2010
New Revision: 216379
URL: http://svn.freebsd.org/changeset/base/216379
Log:
Allow to specify path to a file we want to test with sendfile(2).
This allows to specify selected file system and not only /tmp/.
Modified:
by attaching a new vdev to a root pool.
This warning is helpful, just incorrect. It should be changed to show
steps that are needed on FreeBSD and not just commented out.
I left it on purpose as a reminder.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org
have to be set to boot from a pool.)
We should print similar information when:
- We set bootfs property.
- Add new vdev(s) to root pool.
- Attach new vdev(s) to root pool.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http
(e.g. when creating a mirrored boot pool).
Reviewed by:pav
s/pav/pjd/
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am
On Mon, Dec 06, 2010 at 03:18:49PM -0500, John Baldwin wrote:
On Monday, December 06, 2010 2:53:27 pm Pawel Jakub Dawidek wrote:
On Mon, Dec 06, 2010 at 08:35:36PM +0100, Ivan Voras wrote:
Please persuade me on technical grounds why ashift, a property
intended for address alignment
On Mon, Dec 06, 2010 at 11:10:38PM +0200, Alexander Motin wrote:
On 06.12.2010 22:18, John Baldwin wrote:
On Monday, December 06, 2010 2:53:27 pm Pawel Jakub Dawidek wrote:
On Mon, Dec 06, 2010 at 08:35:36PM +0100, Ivan Voras wrote:
Please persuade me on technical grounds why ashift
that ada0 now reports 4kB stripesize)
# zpool import tank
cannot import 'tank': invalid vdev configuration
So you change was not only poorly thought out and not reviewed, but also
not even minimally tested. Before we go any further, back it out.
--
Pawel Jakub Dawidek
On Tue, Dec 07, 2010 at 12:25:28PM +0100, Ivan Voras wrote:
On 7 December 2010 11:21, Pawel Jakub Dawidek p...@freebsd.org wrote:
PS. Do you know your change breaks all current ZFS installation if
stripesize is defined for a provider?
# zpool create tank ada0
(upgrade
, SPA_MAXBLOCKSIZE)) - 1;
+ else
+ *ashift = highbit(MAX(pp-sectorsize, SPA_MINBLOCKSIZE)) - 1;
Even in this chunk there is a comment explaining perfectly what ashift
stands for!!
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org
On Mon, Dec 06, 2010 at 07:44:53PM +0100, Pawel Jakub Dawidek wrote:
On Mon, Dec 06, 2010 at 12:18:03PM +, Ivan Voras wrote:
Author: ivoras
Date: Mon Dec 6 12:18:02 2010
New Revision: 216230
URL: http://svn.freebsd.org/changeset/base/216230
Log:
Use GEOM stripesize field
Author: pjd
Date: Sun Nov 28 20:56:51 2010
New Revision: 216017
URL: http://svn.freebsd.org/changeset/base/216017
Log:
MFC r215799:
Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes
Author: pjd
Date: Wed Nov 24 15:25:17 2010
New Revision: 215799
URL: http://svn.freebsd.org/changeset/base/215799
Log:
Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes
to
vanish.
than to backup. Backup should contains everything and one should
be able to filter what to restore at restore time.
What do you think?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer
performance improvement or some kind of a bug fix?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgphKtpHRsZ5p.pgp
Description: PGP signature
Author: pjd
Date: Mon Nov 15 03:05:33 2010
New Revision: 215331
URL: http://svn.freebsd.org/changeset/base/215331
Log:
1. Exit when we cannot create incoming connection.
2. Improve logging to inform which connection can't be created.
Submitted by: [1] Mikolaj Golub
Author: pjd
Date: Mon Nov 15 03:07:42 2010
New Revision: 215332
URL: http://svn.freebsd.org/changeset/base/215332
Log:
Move timeout.tv_sec initialization outside the loop - sigtimedwait(2) won't
modify it.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:3 days
Author: pjd
Date: Tue Nov 2 22:13:08 2010
New Revision: 214692
URL: http://svn.freebsd.org/changeset/base/214692
Log:
Send packets to remote node only via the send thread to avoid possible
races - in this case a keepalive packet was send from wrong thread which
lead to connection dropping,
Author: pjd
Date: Tue Nov 2 22:30:19 2010
New Revision: 214693
URL: http://svn.freebsd.org/changeset/base/214693
Log:
MFC r211854:
- When VFS_VGET() is not supported, switch to VOP_LOOKUP().
- We are fine by only share-locking the vnode.
- Remove assertion that doesn't hold for ZFS
Author: pjd
Date: Mon Nov 1 10:41:05 2010
New Revision: 214622
URL: http://svn.freebsd.org/changeset/base/214622
Log:
1. Remove invalid assertion.
2. Properly recalculate delta in case pthread_cond_timedwait() is interrupted.
3. Style fix.
Reported by: [1] App Deb appde...@gmail.com
Author: pjd
Date: Mon Nov 1 10:42:14 2010
New Revision: 214623
URL: http://svn.freebsd.org/changeset/base/214623
Log:
Fix ztest when it is executed by just 'ztest' and not by full path
'/usr/bin/ztest'.
Modified:
head/cddl/contrib/opensolaris/cmd/ztest/ztest.c
Modified:
when a user is
trying to use it.
[1] When we have UFS file system on top of ZVOL with compression
enabled, overwriting file content with zero bytes should convert blocks
into holes, which will free some space - a usage definitely not worth
keeping -P around. :)
--
Pawel Jakub Dawidek
On Sun, Oct 31, 2010 at 08:11:19PM +0100, Ulrich Spoerlein wrote:
On Sun, 31.10.2010 at 17:06:03 +0100, Pawel Jakub Dawidek wrote:
IMHO this option should be removed and rm(1) should fail when a user is
trying to use it.
No, this is a POLA violation for no apparent gain. The flag has been
SYSCTL_LONG().
Also note, that on i386 long is 32bit and on amd64 long is 64bit, so
32bit process running on 64bit system won't be able to read this sysctl.
Or do we detect 32bit processes on 64bit systems and convert such types
in the kernel?
--
Pawel Jakub Dawidek http
On Sat, Oct 30, 2010 at 12:21:59AM +0200, Pawel Jakub Dawidek wrote:
Also note, that on i386 long is 32bit and on amd64 long is 64bit, so
32bit process running on 64bit system won't be able to read this sysctl.
Or do we detect 32bit processes on 64bit systems and convert such types
you could just add sysctl and eventually put it into sysconf(3)?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgpIkbJqszF5y.pgp
Description
Author: pjd
Date: Tue Oct 26 21:23:55 2010
New Revision: 214402
URL: http://svn.freebsd.org/changeset/base/214402
Log:
- Make it possible for default value to be const.
- Default number is now also a string.
Modified:
stable/8/sbin/geom/class/cache/geom_cache.c
and target for the merge carefully to minimize property changes
on unrelated directories. ?
The same for r213738 and for r213817.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer
Author: pjd
Date: Tue Oct 26 22:46:15 2010
New Revision: 214404
URL: http://svn.freebsd.org/changeset/base/214404
Log:
Use fprintf(stderr) instead of gctl_error() to print a warning about too
big sector size. When gctl error is set gctl_has_param() always returns
'false', which prevents
Pawel Jakub Dawidek p...@freebsd.org
+.\ Copyright (c) 2005-2010 Pawel Jakub Dawidek p...@freebsd.org
.\ All rights reserved.
.\
.\ Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\
.\ $FreeBSD$
.\
-.Dd August 29, 2008
+.Dd October 20, 2010
.Dt GELI 8
becomes read-only. Any changes with corrupt table
are prohibited. Only destroy and recover commands are allowed.
Another corruption worth mentioning is when primary and secondary GPT
header/table differ.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org
Author: pjd
Date: Sun Oct 24 15:38:58 2010
New Revision: 214273
URL: http://svn.freebsd.org/changeset/base/214273
Log:
Load geom_gate.ko module after parsing arguments.
MFC after:3 days
Modified:
head/sbin/hastd/hastd.c
Modified: head/sbin/hastd/hastd.c
Author: pjd
Date: Sun Oct 24 15:41:23 2010
New Revision: 214274
URL: http://svn.freebsd.org/changeset/base/214274
Log:
Plug memory leaks.
Found with: valgrind
MFC after:3 days
Modified:
head/sbin/hastd/parse.y
head/sbin/hastd/primary.c
head/sbin/hastd/synch.h
Modified:
Author: pjd
Date: Sun Oct 24 15:42:16 2010
New Revision: 214275
URL: http://svn.freebsd.org/changeset/base/214275
Log:
Plug memory leak.
MFC after:3 days
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Sun Oct 24 15:44:23 2010
New Revision: 214276
URL: http://svn.freebsd.org/changeset/base/214276
Log:
Simplify code a bit.
MFC after:3 days
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Sun Oct 24 17:22:34 2010
New Revision: 214282
URL: http://svn.freebsd.org/changeset/base/214282
Log:
Move all NV defines into nv.c, they are not used externally thus there is
no need to make then visible from outside.
MFC after:3 days
Modified:
Author: pjd
Date: Sun Oct 24 17:24:08 2010
New Revision: 214283
URL: http://svn.freebsd.org/changeset/base/214283
Log:
Implement nv_exists() function that returns true if argument of the given
name exists.
MFC after:3 days
Modified:
head/sbin/hastd/nv.c
head/sbin/hastd/nv.h
Author: pjd
Date: Sun Oct 24 17:28:25 2010
New Revision: 214284
URL: http://svn.freebsd.org/changeset/base/214284
Log:
Before this change on first connect between primary and secondary we
initialize all the data. This is huge waste of time and resources if
there were no writes yet, as there
Author: pjd
Date: Sat Oct 23 21:56:50 2010
New Revision: 214252
URL: http://svn.freebsd.org/changeset/base/214252
Log:
Implement G_TYPE_MULTI and G_VAL_OPTIONAL for stable/8.
This should have been MFC, but I've no green light from marcel to remove
G_TYPE_ASCNUM and gc_argname and to
Author: pjd
Date: Sat Oct 23 22:04:37 2010
New Revision: 214253
URL: http://svn.freebsd.org/changeset/base/214253
Log:
Constify go_val field.
(Should've been MFC of r212547.)
Modified:
stable/8/sbin/geom/core/geom.c
stable/8/sbin/geom/core/geom.h
Modified:
Author: pjd
Date: Sat Oct 23 22:11:30 2010
New Revision: 214254
URL: http://svn.freebsd.org/changeset/base/214254
Log:
MFC r213065,r213068:
r213065:
Remove redundant space.
r213068:
Add support for AES-XTS.
Obtained from:OpenBSD
Modified:
Author: pjd
Date: Fri Oct 22 22:13:11 2010
New Revision: 214225
URL: http://svn.freebsd.org/changeset/base/214225
Log:
Move sc_akeyctx and sc_ivctx initialization to the g_eli_mkey_propagate()
function which eliminates code duplication and will ensure proper order
of operation.
Modified:
Author: pjd
Date: Fri Oct 22 22:44:09 2010
New Revision: 214226
URL: http://svn.freebsd.org/changeset/base/214226
Log:
Encryption keys array might be NULL if device is suspended. Check for this, so
we don't panic when we detach suspended device.
Modified:
head/sys/geom/eli/g_eli.c
Author: pjd
Date: Fri Oct 22 22:45:26 2010
New Revision: 214227
URL: http://svn.freebsd.org/changeset/base/214227
Log:
Add State tag, so 'geli status' will report active/suspended status, eg:
# geli status
Name Status Components
da0.eli SUSPENDED da0
Author: pjd
Date: Fri Oct 22 22:54:26 2010
New Revision: 214228
URL: http://svn.freebsd.org/changeset/base/214228
Log:
Close a race between checking if device is already suspended and suspending
it.
Modified:
head/sys/geom/eli/g_eli_ctl.c
Modified: head/sys/geom/eli/g_eli_ctl.c
Author: pjd
Date: Fri Oct 22 22:58:00 2010
New Revision: 214229
URL: http://svn.freebsd.org/changeset/base/214229
Log:
- Improve error messages, so instead of 'Not fully done', the user will get
information that device is already suspended or that device is using
one-time key and
suspend -a
fi
Well, this is not always safe. As I mentioned in the commit message this
will cause deadlock if geli(8) command is stored on encrypted file
system (you won't be able to resume). Good example of such situation is
when you encrypt even your root file system.
--
Pawel Jakub Dawidek
Author: pjd
Date: Thu Oct 21 10:36:36 2010
New Revision: 214128
URL: http://svn.freebsd.org/changeset/base/214128
Log:
- Simplify gctl_get_handle() a bit.
- Prefer 'unsigned int' over 'u_int' in userland code.
Modified:
head/lib/libgeom/geom_ctl.c
Modified: head/lib/libgeom/geom_ctl.c
Author: pjd
Date: Thu Oct 21 10:38:14 2010
New Revision: 214129
URL: http://svn.freebsd.org/changeset/base/214129
Log:
Remove code duplication by introducing static gctl_param_add() function which
is now used by both gctl_ro_param() and gctl_rw_param().
Modified:
Author: pjd
Date: Thu Oct 21 12:58:26 2010
New Revision: 214133
URL: http://svn.freebsd.org/changeset/base/214133
Log:
Fix a bug introduced in r213067 where we use authentication key before
initializing it.
Modified:
head/sys/geom/eli/g_eli.c
Modified: head/sys/geom/eli/g_eli.c
Author: pjd
Date: Thu Oct 21 19:44:28 2010
New Revision: 214163
URL: http://svn.freebsd.org/changeset/base/214163
Log:
Free opencrypto sessions on suspend, as they also might keep encryption keys.
Modified:
head/sys/geom/eli/g_eli.c
head/sys/geom/eli/g_eli.h
Modified:
Author: pjd
Date: Wed Oct 20 19:52:27 2010
New Revision: 214114
URL: http://svn.freebsd.org/changeset/base/214114
Log:
Correct typos.
Modified:
head/sys/boot/common/gpt.c
Modified: head/sys/boot/common/gpt.c
==
---
Author: pjd
Date: Wed Oct 20 20:01:45 2010
New Revision: 214116
URL: http://svn.freebsd.org/changeset/base/214116
Log:
- Add missing comments.
- Make a comment consistent with others.
Modified:
head/sys/geom/eli/g_eli.c
head/sys/geom/eli/g_eli_integrity.c
Author: pjd
Date: Wed Oct 20 20:50:55 2010
New Revision: 214118
URL: http://svn.freebsd.org/changeset/base/214118
Log:
Bring in geli suspend/resume functionality (finally).
Before this change if you wanted to suspend your laptop and be sure that your
encryption keys are safe, you had to
Author: pjd
Date: Wed Oct 20 21:10:01 2010
New Revision: 214119
URL: http://svn.freebsd.org/changeset/base/214119
Log:
Use closefrom(2) instead of close(2) in a loop.
MFC after:1 week
Modified:
head/sbin/hastd/hooks.c
Modified: head/sbin/hastd/hooks.c
Author: pjd
Date: Mon Oct 18 09:26:39 2010
New Revision: 214014
URL: http://svn.freebsd.org/changeset/base/214014
Log:
MFC r212382,r212383,r212384,r212387:
r212382:
Remove duplicated code.
r212383:
Allow to boot from a pool within which replacing is in progress.
Before the
Author: pjd
Date: Mon Oct 18 12:12:38 2010
New Revision: 214017
URL: http://svn.freebsd.org/changeset/base/214017
Log:
MFC r212407:
Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG.
Reported by: keramida, dhw
Modified:
stable/8/sys/cddl/boot/zfs/zfsimpl.h
Directory Properties:
Author: pjd
Date: Mon Oct 18 12:35:10 2010
New Revision: 214018
URL: http://svn.freebsd.org/changeset/base/214018
Log:
Add links for libradius(3) functions.
Modified:
head/lib/libradius/Makefile
Modified: head/lib/libradius/Makefile
Author: pjd
Date: Mon Oct 18 12:35:48 2010
New Revision: 214019
URL: http://svn.freebsd.org/changeset/base/214019
Log:
Update links for taskqueue(9) functions.
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
Author: pjd
Date: Sun Oct 17 15:47:27 2010
New Revision: 213981
URL: http://svn.freebsd.org/changeset/base/213981
Log:
Log correct connection when canceling half-open connection.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:3 days
Modified:
head/sbin/hastd/hastd.c
is newly added)
+++ stable/8/etc/rc.d/gptboot Sun Oct 17 20:10:00 2010(r213994, copy
of r213137, head/etc/rc.d/gptboot)
@@ -0,0 +1,76 @@
+#!/bin/sh
+#
+# Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms
Author: pjd
Date: Sat Oct 16 22:48:48 2010
New Revision: 213938
URL: http://svn.freebsd.org/changeset/base/213938
Log:
Clear signal mask before executing a hook.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:3 days
Modified:
head/sbin/hastd/hooks.c
Modified:
Author: pjd
Date: Sat Oct 16 22:50:12 2010
New Revision: 213939
URL: http://svn.freebsd.org/changeset/base/213939
Log:
Use one fprintf() instead of two.
MFC after:3 days
Modified:
head/sbin/hastd/pjdlog.c
Modified: head/sbin/hastd/pjdlog.c
Author: pjd
Date: Sun Oct 10 20:49:33 2010
New Revision: 213673
URL: http://svn.freebsd.org/changeset/base/213673
Log:
Provide internal ioflags() function that converts ioflag provided by FreeBSD's
VFS to OpenSolaris-specific ioflag expected by ZFS. Use it for read and write
operations.
Author: pjd
Date: Fri Oct 8 15:02:15 2010
New Revision: 213579
URL: http://svn.freebsd.org/changeset/base/213579
Log:
We close the event socketpair early in the mainloop to prevent spaming with
error messages, so when we clean up after child process, we have to check if
the event
Author: pjd
Date: Fri Oct 8 15:05:39 2010
New Revision: 213580
URL: http://svn.freebsd.org/changeset/base/213580
Log:
We can't zero out ggio request, as we have some fields in there we initialize
once during start-up.
Reported by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:3
blocks
+in-place and does not store new data in new location.
?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgp4H8UPVxeOY.pgp
Author: pjd
Date: Thu Oct 7 18:16:22 2010
New Revision: 213529
URL: http://svn.freebsd.org/changeset/base/213529
Log:
Don't close local component on exit as we can hang waiting on g_waitidle.
I'm unable to reproduce the race described in comment anymore and also the
comment is incorrect -
Author: pjd
Date: Thu Oct 7 18:19:02 2010
New Revision: 213530
URL: http://svn.freebsd.org/changeset/base/213530
Log:
Start the guard thread first, so we can handle signals from the very begining.
Reported by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:1 week
Modified:
Author: pjd
Date: Thu Oct 7 18:20:16 2010
New Revision: 213531
URL: http://svn.freebsd.org/changeset/base/213531
Log:
Log error message when we fail to destroy ggate provider.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: pjd
Date: Thu Oct 7 18:23:28 2010
New Revision: 213533
URL: http://svn.freebsd.org/changeset/base/213533
Log:
Clear ggate structures before using them. We don't initialize all the field
and there can be some garbage from the stack.
MFC after:1 week
Modified:
On Mon, Oct 04, 2010 at 02:35:54PM +0400, Dmitry Morozovsky wrote:
On Mon, 4 Oct 2010, Alexander Best wrote:
AB On Mon Oct 4 10, Pawel Jakub Dawidek wrote:
AB On Mon, Oct 04, 2010 at 06:17:46AM +, Xin LI wrote:
AB Author: delphij
AB Date: Mon Oct 4 06:17:45 2010
AB New
a note that this doesn't
work with all file systems. In case of eg. ZFS the data won't be
overwritten.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes
Author: pjd
Date: Mon Oct 4 21:41:18 2010
New Revision: 213428
URL: http://svn.freebsd.org/changeset/base/213428
Log:
We can't mask ignored signal, so install dummy signal hander for SIGCHLD
before
masking it.
This fixes bogus reports about hooks running for too long and other problems
Author: pjd
Date: Mon Oct 4 21:43:06 2010
New Revision: 213429
URL: http://svn.freebsd.org/changeset/base/213429
Log:
hook_check() is now only used to report about long-running hooks, so the
argument is redundant, remove it.
MFC after:3 days
Modified:
head/sbin/hastd/hastd.c
Author: pjd
Date: Mon Oct 4 21:44:26 2010
New Revision: 213430
URL: http://svn.freebsd.org/changeset/base/213430
Log:
Decrease report interval to 5 seconds, as this also means we will check for
signals every 5 seconds and not every 10 seconds as before.
MFC after:3 days
Modified:
Author: pjd
Date: Tue Sep 28 09:07:00 2010
New Revision: 213245
URL: http://svn.freebsd.org/changeset/base/213245
Log:
Document recently added GPT attributes (bootme, bootonce, bootfailed) and
list other schemes attributes.
Reviewed by: simon, rpaulo
MFC after:2 weeks
Modified:
on textdumps by default and eventually extend what
we dump, than to make minidumps the default.
You can always ask user to add this one-line to rc.conf to turn
minidump on and provide you the info that was missing in textdump.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p
a need for it to be automatic at all.
And I'm arguing that those are very rare situations where there is a
bug, which is hard to reproduce and where textdump won't be of any help.
I'm aware that those are not strong arguments, but just worth taking
into account, IMHO.
--
Pawel Jakub Dawidek
Author: pjd
Date: Mon Sep 27 21:10:37 2010
New Revision: 213231
URL: http://svn.freebsd.org/changeset/base/213231
Log:
Correct message.
Pointed out by: jhb
MFC after:2 weeks
Modified:
head/tools/regression/geom_eli/resize.t
Modified: head/tools/regression/geom_eli/resize.t
Author: pjd
Date: Sun Sep 26 10:39:01 2010
New Revision: 213183
URL: http://svn.freebsd.org/changeset/base/213183
Log:
Plug memory leak on fork(2) failure.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:3 days
Modified:
head/sbin/hastd/hooks.c
Modified:
Author: pjd
Date: Sat Sep 25 10:31:05 2010
New Revision: 213164
URL: http://svn.freebsd.org/changeset/base/213164
Log:
Ignore errors from BIO_FLUSH. It might confuse users that provider wasn't
really killed. What we really care about are write errors only.
MFC after:2 weeks
Author: pjd
Date: Sat Sep 25 10:32:04 2010
New Revision: 213165
URL: http://svn.freebsd.org/changeset/base/213165
Log:
Change g_eli_debug to int, so one can turn off any GELI output by setting
kern.geom.eli.debug sysctl to -1.
MFC after:2 weeks
Modified:
head/sys/geom/eli/g_eli.c
Author: pjd
Date: Sat Sep 25 10:32:52 2010
New Revision: 213166
URL: http://svn.freebsd.org/changeset/base/213166
Log:
Fix two copypaste bugs.
MFC after:2 weeks
Modified:
head/sys/crypto/aesni/aesni_wrap.c
Modified: head/sys/crypto/aesni/aesni_wrap.c
Author: pjd
Date: Sat Sep 25 10:34:11 2010
New Revision: 213167
URL: http://svn.freebsd.org/changeset/base/213167
Log:
- Use $md instead of md0, which fixes tests when md(4) device is already
present.
- Correct message - we create GPT, not MBR.
MFC after:2 weeks
Modified:
Author: pjd
Date: Sat Sep 25 10:34:42 2010
New Revision: 213168
URL: http://svn.freebsd.org/changeset/base/213168
Log:
Update regression tests after AES-XTS addition.
MFC after:2 weeks
Modified:
head/tools/regression/geom_eli/init-a.t
head/tools/regression/geom_eli/init.t
Author: pjd
Date: Sat Sep 25 15:37:41 2010
New Revision: 213171
URL: http://svn.freebsd.org/changeset/base/213171
Log:
Don't hardcode md0 in message, use $md instead.
Reported by: Ronald Klop ronald-freeb...@klop.yi.org
Modified:
head/tools/regression/geom_eli/resize.t
Modified:
On Sat, Sep 25, 2010 at 01:19:11PM +0200, Ronald Klop wrote:
On Sat, 25 Sep 2010 12:34:11 +0200, Pawel Jakub Dawidek p...@freebsd.org
wrote:
Author: pjd
Date: Sat Sep 25 10:34:11 2010
New Revision: 213167
URL: http://svn.freebsd.org/changeset/base/213167
Log:
- Use $md instead
Author: pjd
Date: Sat Sep 25 17:38:57 2010
New Revision: 213172
URL: http://svn.freebsd.org/changeset/base/213172
Log:
- Add support for loading passphrase from a file (-J and -j options).
This is especially useful for things like installers, where regular
geli prompt can't be used.
-
Author: pjd
Date: Sat Sep 25 17:41:02 2010
New Revision: 213173
URL: http://svn.freebsd.org/changeset/base/213173
Log:
Add some regression tests for newly added -J and -j options.
MFC after:2 weeks
Added:
head/tools/regression/geom_eli/init-J.t (contents, props changed)
Added:
/rc.d/gptboot Fri Sep 24 19:53:55 2010(r213137)
@@ -0,0 +1,76 @@
+#!/bin/sh
+#
+# Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided
geom(8) stuff.
If you are talking about G_TYPE_ASCNUM removal, I probably won't MFC it.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am
Author: pjd
Date: Fri Sep 24 19:31:08 2010
New Revision: 213133
URL: http://svn.freebsd.org/changeset/base/213133
Log:
Add three GPT attributes:
GPT_ENT_ATTR_BOOTME - this is bootable partition
GPT_ENT_ATTR_BOOTONCE - try to boot only once from this partition
Author: pjd
Date: Fri Sep 24 19:33:47 2010
New Revision: 213135
URL: http://svn.freebsd.org/changeset/base/213135
Log:
Allow to configure GPT attributes. It shouldn't be allowed to set bootfailed
attribute (it should be allowed only to unset it), but for test purposes it
might be useful, so
)
@@ -0,0 +1,381 @@
+/*-
+ * Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions
)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/8/sbin/hastd/event.c Thu Sep 23 09:02:10 2010(r213049, copy
of r212049, head/sbin/hastd/event.c)
@@ -0,0 +1,162 @@
+/*-
+ * Copyright (c) 2010 Pawel Jakub Dawidek p
Author: pjd
Date: Thu Sep 23 09:05:40 2010
New Revision: 213050
URL: http://svn.freebsd.org/changeset/base/213050
Log:
MFC r208028,r210628,r210909,r210912,r211397:
r208028:
mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and
Author: pjd
Date: Thu Sep 23 10:43:37 2010
New Revision: 213055
URL: http://svn.freebsd.org/changeset/base/213055
Log:
When trashing metadata, flush after each write.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli_ctl.c
Modified: head/sys/geom/eli/g_eli_ctl.c
Author: pjd
Date: Thu Sep 23 10:50:17 2010
New Revision: 213056
URL: http://svn.freebsd.org/changeset/base/213056
Log:
Simplify code a bit by using g_*() API from libgeom.
MFC after:1 week
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified: head/sbin/geom/class/eli/geom_eli.c
1001 - 1100 of 1570 matches
Mail list logo