Author: pjd
Date: Thu Sep 23 10:55:45 2010
New Revision: 213057
URL: http://svn.freebsd.org/changeset/base/213057
Log:
- Make use of g_*() API.
- Flush cache after writing metadata.
MFC after:1 week
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified:
Author: pjd
Date: Thu Sep 23 10:58:13 2010
New Revision: 213058
URL: http://svn.freebsd.org/changeset/base/213058
Log:
Because we first write metadata into new place and then trash old place we
don't want situation where old size is equal to new size, as we will trash
newly written
Author: pjd
Date: Thu Sep 23 11:04:50 2010
New Revision: 213059
URL: http://svn.freebsd.org/changeset/base/213059
Log:
- Use g_*() API when doing backups.
- fsync() created filed.
MFC after:1 week
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified:
Author: pjd
Date: Thu Sep 23 11:18:02 2010
New Revision: 213060
URL: http://svn.freebsd.org/changeset/base/213060
Log:
- When trashing metadata, repeat overwrite kern.geom.eli.overwrites times.
- Flush write cache after each write.
MFC after:1 week
Modified:
Author: pjd
Date: Thu Sep 23 11:19:48 2010
New Revision: 213062
URL: http://svn.freebsd.org/changeset/base/213062
Log:
Define default overwrite count, so that userland can use it.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli.c
head/sys/geom/eli/g_eli.h
Modified:
Author: pjd
Date: Thu Sep 23 11:23:10 2010
New Revision: 213063
URL: http://svn.freebsd.org/changeset/base/213063
Log:
Make the code similar to the code in g_eli_integrity.c.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli_privacy.c
Modified: head/sys/geom/eli/g_eli_privacy.c
Author: pjd
Date: Thu Sep 23 11:26:38 2010
New Revision: 213064
URL: http://svn.freebsd.org/changeset/base/213064
Log:
Simplify code a bit.
MFC after:1 week
Modified:
head/sys/crypto/aesni/aesni.c
head/sys/crypto/aesni/aesni_wrap.c
Modified: head/sys/crypto/aesni/aesni.c
Author: pjd
Date: Thu Sep 23 11:33:29 2010
New Revision: 213065
URL: http://svn.freebsd.org/changeset/base/213065
Log:
Remove redundant space.
MFC after:1 week
Modified:
head/sys/opencrypto/xform.c
Modified: head/sys/opencrypto/xform.c
Author: pjd
Date: Thu Sep 23 11:52:32 2010
New Revision: 213068
URL: http://svn.freebsd.org/changeset/base/213068
Log:
Add support for AES-XTS.
Obtained from:OpenBSD
MFC after:1 week
Modified:
head/sys/opencrypto/cryptodev.c
head/sys/opencrypto/cryptodev.h
(r213069)
@@ -1,5 +1,6 @@
/*-
* Copyright (c) 2010 Konstantin Belousov k...@freebsd.org
+ * Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -105,28 +106,138 @@ aesni_decrypt_ecb(int rounds
Author: pjd
Date: Thu Sep 23 11:58:36 2010
New Revision: 213070
URL: http://svn.freebsd.org/changeset/base/213070
Log:
Add support for AES-XTS. This will be the default now.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli.c
head/sys/geom/eli/g_eli.h
==
--- head/sbin/geom/class/eli/geli.8 Thu Sep 23 11:58:36 2010
(r213070)
+++ head/sbin/geom/class/eli/geli.8 Thu Sep 23 12:00:40 2010
(r213071)
@@ -1,4 +1,4 @@
-.\ Copyright (c) 2005-2008 Pawel Jakub Dawidek p...@freebsd.org
+.\ Copyright (c
(r213071)
+++ head/sys/geom/eli/g_eli.c Thu Sep 23 12:02:08 2010(r213072)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2005-2006 Pawel Jakub Dawidek p...@freebsd.org
+ * Copyright (c) 2005-2010 Pawel Jakub Dawidek p...@freebsd.org
* All rights reserved.
*
* Redistribution and use in source
==
--- head/sbin/geom/class/eli/geom_eli.c Thu Sep 23 12:02:08 2010
(r213072)
+++ head/sbin/geom/class/eli/geom_eli.c Thu Sep 23 12:02:42 2010
(r213073)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2004-2008 Pawel Jakub Dawidek p...@freebsd.org
Author: pjd
Date: Wed Sep 22 18:38:02 2010
New Revision: 213003
URL: http://svn.freebsd.org/changeset/base/213003
Log:
Sort includes.
MFC after:3 days
Modified:
head/sbin/hastd/control.c
Modified: head/sbin/hastd/control.c
Author: pjd
Date: Wed Sep 22 18:39:43 2010
New Revision: 213004
URL: http://svn.freebsd.org/changeset/base/213004
Log:
If we are unable to receive control message is most likely because the main
process died. Instead of entering infinite loop, terminate.
MFC after:3 days
Modified:
Author: pjd
Date: Wed Sep 22 18:57:06 2010
New Revision: 213006
URL: http://svn.freebsd.org/changeset/base/213006
Log:
Fix descriptor leaks: when child exits, we have to close control and event
socket pairs. We did that only in one case out of three.
MFC after:3 days
Modified:
Author: pjd
Date: Wed Sep 22 19:03:11 2010
New Revision: 213007
URL: http://svn.freebsd.org/changeset/base/213007
Log:
Fix possible deadlock where worker process sends an event to the main process
while the main process sends control message to the worker process, but worker
process hasn't
Author: pjd
Date: Wed Sep 22 19:05:54 2010
New Revision: 213008
URL: http://svn.freebsd.org/changeset/base/213008
Log:
Assert that descriptor numbers are sane.
MFC after:3 days
Modified:
head/sbin/hastd/hastd.c
Modified: head/sbin/hastd/hastd.c
Author: pjd
Date: Wed Sep 22 19:08:11 2010
New Revision: 213009
URL: http://svn.freebsd.org/changeset/base/213009
Log:
Switch to sigprocmask(2) API also in the main process and secondary process.
This way the primary process inherits signal mask from the main process,
which fixes a race
Author: pjd
Date: Mon Sep 20 13:23:43 2010
New Revision: 212899
URL: http://svn.freebsd.org/changeset/base/212899
Log:
Add __dead2 to functions that we know they are going to exit.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
head/sbin/hastd/secondary.c
Modified:
Author: pjd
Date: Sun Sep 19 10:51:55 2010
New Revision: 212846
URL: http://svn.freebsd.org/changeset/base/212846
Log:
Fix indent.
Modified:
head/sbin/geom/class/eli/geli.8
Modified: head/sbin/geom/class/eli/geli.8
,
+ (g_delete_data(): invalid length %jd, (intmax_t)length));
This check looks a bit strange. Leaving only
'length = cp-provider-sectorsize' part should be enough.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
On Sat, Sep 18, 2010 at 01:23:41PM +0200, Stefan Farfeleder wrote:
Um, was the change from 32 to 31 deliberate?
Yes.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer
Author: pjd
Date: Fri Sep 17 22:51:45 2010
New Revision: 212804
URL: http://svn.freebsd.org/changeset/base/212804
Log:
Remove magic value.
Modified:
head/sys/boot/zfs/zfs.c
Modified: head/sys/boot/zfs/zfs.c
==
---
Author: pjd
Date: Fri Sep 17 22:59:15 2010
New Revision: 212805
URL: http://svn.freebsd.org/changeset/base/212805
Log:
Before VirtualBox is fixed, mark with #ifdef what has to be done to make
it possible to boot from ZFS RAIDZ for example from within VirtualBox.
The problem with VirtualBox
Author: pjd
Date: Wed Sep 15 20:59:13 2010
New Revision: 212703
URL: http://svn.freebsd.org/changeset/base/212703
Log:
Make the message that informs about bootcode being written to disk less
confusing.
Note there is still no information about 'partcode' being written to disk
(gpart
Author: pjd
Date: Wed Sep 15 21:15:00 2010
New Revision: 212706
URL: http://svn.freebsd.org/changeset/base/212706
Log:
Change message when setting or unsetting attribute less confusing.
Before:
ada0 has attrib set
After:
attrib set on ada0
MFC after:2 weeks
Author: pjd
Date: Wed Sep 15 21:37:26 2010
New Revision: 212708
URL: http://svn.freebsd.org/changeset/base/212708
Log:
GPART_PARAM_INDEX is now G_TYPE_NUMBER.
Modified:
head/sbin/geom/class/part/geom_part.c
Modified: head/sbin/geom/class/part/geom_part.c
Author: pjd
Date: Tue Sep 14 11:13:46 2010
New Revision: 212606
URL: http://svn.freebsd.org/changeset/base/212606
Log:
Introduce special G_VAL_OPTIONAL define, which when given in value field
tells geom(8) to ignore it when it is not given and don't try to obtain
default value.
Modified:
Author: pjd
Date: Tue Sep 14 11:19:21 2010
New Revision: 212607
URL: http://svn.freebsd.org/changeset/base/212607
Log:
Remove dot which shouldn't be here, as err(3) will attach error message
at the end of the string.
Modified:
head/sbin/geom/core/geom.c
Modified:
Author: pjd
Date: Tue Sep 14 11:36:26 2010
New Revision: 212608
URL: http://svn.freebsd.org/changeset/base/212608
Log:
All gpart(8) subcommands apart from the 'bootcode' subcommand handle
given geom/provider names with and without /dev/ prefix. Teach the
'bootcode' subcommand to handle
On Mon, Sep 13, 2010 at 03:06:55PM +, Alexander Best wrote:
hi there,
could you take a quick peek at PR #150239 to see if the patch for g_part.c is
a
reasonable change?
Yes, the current output was confusing to me as well.
--
Pawel Jakub Dawidek http
Author: pjd
Date: Tue Sep 14 11:42:07 2010
New Revision: 212609
URL: http://svn.freebsd.org/changeset/base/212609
Log:
Simplify the code a bit.
Modified:
head/sys/geom/part/g_part.c
Modified: head/sys/geom/part/g_part.c
Author: pjd
Date: Tue Sep 14 16:19:09 2010
New Revision: 212613
URL: http://svn.freebsd.org/changeset/base/212613
Log:
Update two last places where arg0 should be used instead of geom.
Modified:
head/sbin/geom/class/part/geom_part.c
Modified: head/sbin/geom/class/part/geom_part.c
Author: pjd
Date: Tue Sep 14 16:21:13 2010
New Revision: 212614
URL: http://svn.freebsd.org/changeset/base/212614
Log:
- Change all places where G_TYPE_ASCNUM is used to G_TYPE_NUMBER.
It turns out the new type wasn't really needed.
- Reorganize code a little bit.
Modified:
Author: pjd
Date: Tue Sep 14 16:22:22 2010
New Revision: 212615
URL: http://svn.freebsd.org/changeset/base/212615
Log:
Remove now unused G_TYPE_ASCNUM.
Modified:
head/sbin/geom/core/geom.c
head/sbin/geom/core/geom.h
Modified: head/sbin/geom/core/geom.c
Author: pjd
Date: Tue Sep 14 20:54:22 2010
New Revision: 212622
URL: http://svn.freebsd.org/changeset/base/212622
Log:
Remove dead code.
Modified:
head/sbin/geom/core/geom.c
Modified: head/sbin/geom/core/geom.c
==
Author: pjd
Date: Tue Sep 14 20:55:25 2010
New Revision: 212623
URL: http://svn.freebsd.org/changeset/base/212623
Log:
Force commit to note, than the previous change was...
Submitted by: ae
Modified:
head/sbin/geom/core/geom.c
Modified: head/sbin/geom/core/geom.c
Author: pjd
Date: Mon Sep 13 08:56:07 2010
New Revision: 212547
URL: http://svn.freebsd.org/changeset/base/212547
Log:
- Allow to specify value as const pointers.
- Make optional string values always an empty string.
Modified:
head/sbin/geom/class/eli/geom_eli.c
On Mon, Sep 13, 2010 at 07:29:02AM +, Warner Losh wrote:
Author: imp
Date: Mon Sep 13 07:29:02 2010
New Revision: 212543
URL: http://svn.freebsd.org/changeset/base/212543
Log:
Simplify atomic selection
Could you also update libzpool Makefile?
--
Pawel Jakub Dawidek
Author: pjd
Date: Mon Sep 13 13:48:18 2010
New Revision: 212554
URL: http://svn.freebsd.org/changeset/base/212554
Log:
- Remove gc_argname field. It was introduced for gpart(8), but if I
understand everything correctly, we don't really need it.
- Provide default numeric value as strings.
Author: pjd
Date: Mon Sep 13 13:59:28 2010
New Revision: 212555
URL: http://svn.freebsd.org/changeset/base/212555
Log:
Add G_TYPE_MULTI flag, which when set for the given option, will
allow the option to be specified multiple times. This will help to
implement things like passing multiple
Author: pjd
Date: Mon Sep 13 19:47:09 2010
New Revision: 212573
URL: http://svn.freebsd.org/changeset/base/212573
Log:
Remove the page queues lock around vm_page_undirty() - it is no longer needed.
Reviewed by: alc
Modified:
Author: pjd
Date: Thu Sep 9 07:55:13 2010
New Revision: 212356
URL: http://svn.freebsd.org/changeset/base/212356
Log:
Remove VI_MOUNT flag from vnode on VFS_MOUNT() failure.
Modified:
head/sys/kern/vfs_mount.c
Modified: head/sys/kern/vfs_mount.c
Author: pjd
Date: Thu Sep 9 21:15:16 2010
New Revision: 212382
URL: http://svn.freebsd.org/changeset/base/212382
Log:
Remove duplicated code.
MFC after:2 weeks
Modified:
head/sys/boot/zfs/zfsimpl.c
Modified: head/sys/boot/zfs/zfsimpl.c
Author: pjd
Date: Thu Sep 9 21:32:09 2010
New Revision: 212387
URL: http://svn.freebsd.org/changeset/base/212387
Log:
Remove empty lines committed by accident.
MFC after:2 weeks
Modified:
head/sys/boot/zfs/zfsimpl.c
Modified: head/sys/boot/zfs/zfsimpl.c
Author: pjd
Date: Fri Sep 10 04:44:13 2010
New Revision: 212407
URL: http://svn.freebsd.org/changeset/base/212407
Log:
Forgot to commit this file. Add ZPOOL_CONFIG_IS_LOG.
Reported by: keramida
MFC after:2 weeks
Modified:
head/sys/cddl/boot/zfs/zfsimpl.h
Modified:
(first use in this function)
/usr/src/sys/boot/zfs/zfsimpl.c:853: error: (Each undeclared identifier is
reported only once
/usr/src/sys/boot/zfs/zfsimpl.c:853: error: for each function it appears
in.)
Yes, I forgot to include one file in 'svn commit'. Thanks!
--
Pawel Jakub Dawidek
Author: pjd
Date: Wed Sep 8 20:56:18 2010
New Revision: 212340
URL: http://svn.freebsd.org/changeset/base/212340
Log:
- Log all the problems in devfs_fixup().
- Correct error paths. The system will be useless on devfs_fixup() failure, so
why bother? Maybe for the same reason why a
Author: pjd
Date: Wed Sep 8 21:00:53 2010
New Revision: 212341
URL: http://svn.freebsd.org/changeset/base/212341
Log:
Doing first mount and updating mount points are both handled by the same
syscall and the same function, but are very different and share almost no
code.
To make it easier
. It can be eg. /dev/ad0s1a.eli.journal.
Another problem is that in memmove you cut the first 4 characters, not
the last 4 characters.
I'm not sure, but can't you simply extend regular expression to:
^(/dev/[a-z/]+[0-9]+)([sp][0-9]+)?[a-h]?(\.eli)?$
--
Pawel Jakub Dawidek
On Mon, Sep 06, 2010 at 01:13:18AM -0700, Brian Somers wrote:
On Mon, 6 Sep 2010 08:41:42 +0200 Pawel Jakub Dawidek p...@freebsd.org
wrote:
Your assumption that .eli can only be present at the end of provider name
is incorrect. It can be eg. /dev/ad0s1a.eli.journal.
Another problem
On Thu, Sep 02, 2010 at 04:07:36PM -0600, Justin T. Gibbs wrote:
On 9/2/2010 3:39 PM, Pawel Jakub Dawidek wrote:
Don't you think it would be better to set the flag from within
g_io_request()? This way every BIO_FLUSH consumer doesn't have to
remember to set it. Or am I missing something
to
remember to set it. Or am I missing something?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgpcMMSHZauDz.pgp
Description: PGP signature
Author: pjd
Date: Tue Aug 31 06:22:03 2010
New Revision: 212046
URL: http://svn.freebsd.org/changeset/base/212046
Log:
Mask only those signals that we want to handle.
Suggested by: jilles
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
On Tue, Aug 31, 2010 at 10:23:04AM +, David Xu wrote:
Pawel Jakub Dawidek wrote:
Author: pjd
Date: Mon Aug 30 00:06:05 2010
New Revision: 211982
URL: http://svn.freebsd.org/changeset/base/211982
Log:
Use sigtimedwait(2) for signals handling in primary process.
This fixes various
file is newly added)
+++ head/sbin/hastd/event.c Tue Aug 31 09:38:43 2010(r212049)
@@ -0,0 +1,162 @@
+/*-
+ * Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification
Author: pjd
Date: Tue Aug 31 12:03:29 2010
New Revision: 212051
URL: http://svn.freebsd.org/changeset/base/212051
Log:
Correct error message.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:2 weeks
Modified:
head/sbin/hastd/secondary.c
Modified:
Author: pjd
Date: Tue Aug 31 12:05:13 2010
New Revision: 212052
URL: http://svn.freebsd.org/changeset/base/212052
Log:
Include process PID in log messages.
Submitted by: Mikolaj Golub to.my.troc...@gmail.com
MFC after:2 weeks
Modified:
head/sbin/hastd/pjdlog.c
Modified:
On Tue, Aug 31, 2010 at 08:44:21PM +0200, Fabian Keil wrote:
Pawel Jakub Dawidek p...@freebsd.org wrote:
static int
+is_root_pool(zpool_handle_t *zhp)
+{
+ static struct statfs sfs;
+ static char *poolname = NULL;
+ static boolean_t stated = B_FALSE;
Why are those variables
Author: pjd
Date: Tue Aug 31 19:01:46 2010
New Revision: 212067
URL: http://svn.freebsd.org/changeset/base/212067
Log:
Eliminate confusing while () loop. In the first version of the code it was
there to avoid gotos, but in the current version it serves no purpose.
MFC after:2 weeks
On Tue, Aug 31, 2010 at 08:57:52PM +0200, Pawel Jakub Dawidek wrote:
On Tue, Aug 31, 2010 at 08:44:21PM +0200, Fabian Keil wrote:
+ while (!stated) {
+ stated = B_TRUE;
+ if (statfs(/, sfs) == -1) {
+ (void) fprintf(stderr
On Sun, Aug 29, 2010 at 08:20:47PM -0400, Philip M. Gollucci wrote:
On 8/29/2010 8:12 PM, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Mon Aug 30 00:12:10 2010
New Revision: 211983
URL: http://svn.freebsd.org/changeset/base/211983
Log:
Execute hook when split-brain is detected
/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
: ATOMIC_SRCS= opensolaris_atomic.S
: .else
I find it disturbing that we have 3 or 4 copies of this code in our
Makefiles...
Then you will like @183089 :)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p
Author: pjd
Date: Mon Aug 30 22:28:04 2010
New Revision: 212034
URL: http://svn.freebsd.org/changeset/base/212034
Log:
Use pjdlog_exit() before fork().
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/primary.c
Author: pjd
Date: Mon Aug 30 23:16:45 2010
New Revision: 212036
URL: http://svn.freebsd.org/changeset/base/212036
Log:
When someone gives NULL as data, assume this is because he want to declare
connection side only.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o.
Author: pjd
Date: Mon Aug 30 23:19:21 2010
New Revision: 212037
URL: http://svn.freebsd.org/changeset/base/212037
Log:
We only want to know if descriptors are ready for reading.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
Author: pjd
Date: Mon Aug 30 23:26:10 2010
New Revision: 212038
URL: http://svn.freebsd.org/changeset/base/212038
Log:
Because it is very hard to make fork(2) from threaded process safe (we are
limited to async-signal safe functions in the child process), move all hooks
execution to the
On Mon, Aug 30, 2010 at 10:59:45AM +0300, Kostik Belousov wrote:
On Mon, Aug 30, 2010 at 12:06:05AM +, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Mon Aug 30 00:06:05 2010
New Revision: 211982
URL: http://svn.freebsd.org/changeset/base/211982
Log:
Use sigtimedwait(2
Author: pjd
Date: Sun Aug 29 20:18:06 2010
New Revision: 211970
URL: http://svn.freebsd.org/changeset/base/211970
Log:
Fix 'zfs allow' (maybe not only) returning:
cannot access dataset system/usr/home: Operation not supported
by including libzfs_impl.h. What libzfs_impl.h does
Author: pjd
Date: Sun Aug 29 20:21:10 2010
New Revision: 211971
URL: http://svn.freebsd.org/changeset/base/211971
Log:
Print errors on stderr.
MFC after:2 weeks
Modified:
head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
Modified: head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
Author: pjd
Date: Sun Aug 29 20:25:25 2010
New Revision: 211972
URL: http://svn.freebsd.org/changeset/base/211972
Log:
Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing.
MFC after:2 weeks
Modified:
head/cddl/contrib/opensolaris/cmd/zfs/zfs_main.c
Modified:
Author: pjd
Date: Sun Aug 29 21:37:21 2010
New Revision: 211975
URL: http://svn.freebsd.org/changeset/base/211975
Log:
Implement mtx_destroy() and rw_destroy().
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
Author: pjd
Date: Sat Aug 28 08:30:20 2010
New Revision: 211927
URL: http://svn.freebsd.org/changeset/base/211927
Log:
Correct offset conversion to little endian. It was implemented in version 2,
but because of a bug it was a no-op, so we were still using offsets in native
byte order for
On Sat, Aug 28, 2010 at 08:30:20AM +, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Sat Aug 28 08:30:20 2010
New Revision: 211927
URL: http://svn.freebsd.org/changeset/base/211927
Log:
Correct offset conversion to little endian. It was implemented in version 2,
but because of a bug
Author: pjd
Date: Sat Aug 28 08:38:03 2010
New Revision: 211928
URL: http://svn.freebsd.org/changeset/base/211928
Log:
Run all tasks from a proper context, with proper priority, etc.
Reviewed by: jhb
MFC after:1 month
Modified:
head/sys/kern/subr_taskqueue.c
Modified:
On Sat, Aug 28, 2010 at 11:43:55AM +0300, Kostik Belousov wrote:
On Fri, Aug 27, 2010 at 11:54:02PM +0200, Pawel Jakub Dawidek wrote:
On Sat, Aug 28, 2010 at 12:38:27AM +0300, Kostik Belousov wrote:
--- head/sbin/hastd/primary.c Fri Aug 27 20:48:12 2010
(r211895)
+++ head
Author: pjd
Date: Sat Aug 28 08:57:15 2010
New Revision: 211930
URL: http://svn.freebsd.org/changeset/base/211930
Log:
There is a bug in vfs_allocate_syncvnode() failure handling in mount code.
Actually it is hard to properly handle such a failure, especially in
MNT_UPDATE
case. The only
to say FreeBSD on FreeBSD, rather than SunOS.
I see it is being used in one DTrace test. Changing 'tst.str.d.out' to
expect FreeBSD instead of SunOS is ok?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http://www.FreeBSD.org
FreeBSD
On Fri, Aug 27, 2010 at 07:48:09PM +0400, pluknet wrote:
On 27 August 2010 03:33, Pawel Jakub Dawidek p...@freebsd.org wrote:
Author: pjd
Date: Thu Aug 26 23:33:04 2010
New Revision: 211853
URL: http://svn.freebsd.org/changeset/base/211853
Log:
- Check the result of malloc(M_NOWAIT
Author: pjd
Date: Sat Aug 28 19:28:12 2010
New Revision: 211947
URL: http://svn.freebsd.org/changeset/base/211947
Log:
Move ZUT_OBJS in the same place that is used in vendor code.
Obtained from://depot/user/pjd/zfs/...
Modified:
compiled from more recent source than my userland and kernel was
build. Does it work for you?
# zfs allow foo/bar
cannot access dataset foo/bar: Operation not supported
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org
the answer as 'true',
which seems wrong. What does this if statement do exactly? It
initializes mutex if it isn't? If so, can't we simply assert that it has
to be initialized?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
p...@freebsd.org http
Author: pjd
Date: Fri Aug 27 13:54:17 2010
New Revision: 211875
URL: http://svn.freebsd.org/changeset/base/211875
Log:
Make comment more readable.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/proto_tcp4.c
Author: pjd
Date: Fri Aug 27 13:58:38 2010
New Revision: 211876
URL: http://svn.freebsd.org/changeset/base/211876
Log:
Add mtx_owned() implementation.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/synch.h
Author: pjd
Date: Fri Aug 27 14:06:00 2010
New Revision: 211878
URL: http://svn.freebsd.org/changeset/base/211878
Log:
We have sync_start() function to start synchronization, introduce sync_stop()
function to stop it.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o.
Author: pjd
Date: Fri Aug 27 14:08:10 2010
New Revision: 211879
URL: http://svn.freebsd.org/changeset/base/211879
Log:
Log that synchronization was interrupted in a proper place.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
Author: pjd
Date: Fri Aug 27 14:12:53 2010
New Revision: 211881
URL: http://svn.freebsd.org/changeset/base/211881
Log:
- Remove redundant and incorrect 'old' word from debug message.
- Log disconnects as warnings.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o.
Author: pjd
Date: Fri Aug 27 14:26:37 2010
New Revision: 211882
URL: http://svn.freebsd.org/changeset/base/211882
Log:
Implement keepalive mechanism inside HAST protocol so we can detect secondary
node failures quickly for HAST resources that are rarely modified.
Remove XXX from a
Author: pjd
Date: Fri Aug 27 14:28:39 2010
New Revision: 211883
URL: http://svn.freebsd.org/changeset/base/211883
Log:
Reduce indent where possible.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/parse.y
Author: pjd
Date: Fri Aug 27 14:35:39 2010
New Revision: 211884
URL: http://svn.freebsd.org/changeset/base/211884
Log:
When logging to stdout/stderr don't close those descriptors after fork().
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o.
==
--- head/sbin/hastd/hooks.c Fri Aug 27 14:35:39 2010(r211884)
+++ head/sbin/hastd/hooks.c Fri Aug 27 14:38:12 2010(r211885)
@@ -1,5 +1,6 @@
/*-
* Copyright (c) 2010 The FreeBSD Foundation
+ * Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
* All
Author: pjd
Date: Fri Aug 27 15:16:52 2010
New Revision: 211886
URL: http://svn.freebsd.org/changeset/base/211886
Log:
Allow to execute specified program on various HAST events.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
On Fri, Aug 27, 2010 at 03:16:52PM +, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Fri Aug 27 15:16:52 2010
New Revision: 211886
URL: http://svn.freebsd.org/changeset/base/211886
Log:
Allow to execute specified program on various HAST events.
Manual page update will follow soon
) 2010 The FreeBSD Foundation
+.\ Copyright (c) 2010 Pawel Jakub Dawidek p...@freebsd.org
.\ All rights reserved.
.\
.\ This software was developed by Pawel Jakub Dawidek under sponsorship from
@@ -27,7 +28,7 @@
.\
.\ $FreeBSD$
.\
-.Dd August 5, 2010
+.Dd August 27, 2010
.Dt HAST.CONF 5
.Os
Author: pjd
Date: Fri Aug 27 20:48:12 2010
New Revision: 211895
URL: http://svn.freebsd.org/changeset/base/211895
Log:
Add hooks execution.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
head/sbin/hastd/primary.c
Modified:
Author: pjd
Date: Fri Aug 27 20:49:06 2010
New Revision: 211896
URL: http://svn.freebsd.org/changeset/base/211896
Log:
Check if no signals were delivered just before going to sleep.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Author: pjd
Date: Fri Aug 27 21:20:32 2010
New Revision: 211897
URL: http://svn.freebsd.org/changeset/base/211897
Log:
Correct when we log interrupted synchronization.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
Author: pjd
Date: Fri Aug 27 21:26:55 2010
New Revision: 211898
URL: http://svn.freebsd.org/changeset/base/211898
Log:
When logging to stdout/stderr, flush after each log.
MFC after:2 weeks
Obtained from:Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Modified:
1101 - 1200 of 1570 matches
Mail list logo