Author: pjd
Date: Thu Oct 27 20:10:21 2011
New Revision: 226855
URL: http://svn.freebsd.org/changeset/base/226855
Log:
Improve comment so it doesn't suggest race is possible, but that we handle
the race.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified:
Author: pjd
Date: Thu Oct 27 20:13:39 2011
New Revision: 226856
URL: http://svn.freebsd.org/changeset/base/226856
Log:
Reduce indentation.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: pjd
Date: Thu Oct 27 20:15:37 2011
New Revision: 226857
URL: http://svn.freebsd.org/changeset/base/226857
Log:
Minor cleanups.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: pjd
Date: Thu Oct 27 20:32:57 2011
New Revision: 226859
URL: http://svn.freebsd.org/changeset/base/226859
Log:
Implement 'async' mode for HAST.
MFC after:3 days
Modified:
head/sbin/hastd/hast.conf.5
head/sbin/hastd/parse.y
head/sbin/hastd/primary.c
Modified:
Author: pjd
Date: Thu Oct 27 20:36:35 2011
New Revision: 226861
URL: http://svn.freebsd.org/changeset/base/226861
Log:
Remove redundant space.
MFC after:3 days
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Tue Oct 25 07:24:51 2011
New Revision: 226715
URL: http://svn.freebsd.org/changeset/base/226715
Log:
Sort includes.
MFC after:3 days
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified: head/sbin/geom/class/eli/geom_eli.c
Author: pjd
Date: Tue Oct 25 07:31:13 2011
New Revision: 226716
URL: http://svn.freebsd.org/changeset/base/226716
Log:
Simplify eli_backup_create() and eli_backup_restore() functions.
As a side-effect it is now possible to backup unsupported (newer)
GELI metadata versions.
MFC after:
Author: pjd
Date: Tue Oct 25 07:32:43 2011
New Revision: 226717
URL: http://svn.freebsd.org/changeset/base/226717
Log:
Simplify eli_is_attached() function and make it return boot instead of int.
MFC after:3 days
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified:
Author: pjd
Date: Tue Oct 25 07:34:35 2011
New Revision: 226718
URL: http://svn.freebsd.org/changeset/base/226718
Log:
If 'req' is NULL, print error on stderr.
MFC after:3 days
Modified:
head/sbin/geom/misc/subr.c
Modified: head/sbin/geom/misc/subr.c
Author: pjd
Date: Tue Oct 25 07:37:02 2011
New Revision: 226719
URL: http://svn.freebsd.org/changeset/base/226719
Log:
Simplify eli_dump() function and allow to dump metadata stored in backup file.
MFC after:3 days
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified:
Author: pjd
Date: Tue Oct 25 07:44:10 2011
New Revision: 226720
URL: http://svn.freebsd.org/changeset/base/226720
Log:
Simplify eli_resize() function.
MFC after:3 days
Modified:
head/sbin/geom/class/eli/geom_eli.c
Modified: head/sbin/geom/class/eli/geom_eli.c
Author: pjd
Date: Tue Oct 25 07:48:53 2011
New Revision: 226721
URL: http://svn.freebsd.org/changeset/base/226721
Log:
When metadata is at newer version than the highest supported, return
EOPNOTSUPP when decoding.
MFC after:3 days
Modified:
head/sys/geom/eli/g_eli.h
Modified:
Author: pjd
Date: Tue Oct 25 07:56:27 2011
New Revision: 226722
URL: http://svn.freebsd.org/changeset/base/226722
Log:
When we detect GELI metadata version that is newer than the highest we
support, inform the user about that instead of 'MD5 hash mismatch'.
Suggested by: Garrett Cooper
Author: pjd
Date: Tue Oct 25 08:03:51 2011
New Revision: 226723
URL: http://svn.freebsd.org/changeset/base/226723
Log:
Add 'geli version' subcommand, which will print GELI metadata version of each
given GEOM provider or if not providers are given it will print versions
supported by userland
Author: pjd
Date: Tue Oct 25 12:26:19 2011
New Revision: 226726
URL: http://svn.freebsd.org/changeset/base/226726
Log:
Remove duplicated line.
MFC after:3 days
Modified:
head/sbin/hastctl/Makefile
Modified: head/sbin/hastctl/Makefile
Author: pjd
Date: Tue Oct 25 13:08:03 2011
New Revision: 226727
URL: http://svn.freebsd.org/changeset/base/226727
Log:
Fit lines into 80 chars.
MFC after:3 days
Modified:
head/sys/geom/eli/g_eli.c
Modified: head/sys/geom/eli/g_eli.c
Author: pjd
Date: Tue Oct 25 13:09:22 2011
New Revision: 226728
URL: http://svn.freebsd.org/changeset/base/226728
Log:
Prefer G_ELI_VERSION_* defines for version numbers over plain digits.
MFC after:3 days
Modified:
head/sys/geom/eli/g_eli.c
Modified: head/sys/geom/eli/g_eli.c
Author: pjd
Date: Tue Oct 25 13:41:12 2011
New Revision: 226729
URL: http://svn.freebsd.org/changeset/base/226729
Log:
Fix resize regressions tests - we need to destroy BSDlabel before we can
create GPT.
MFC after:3 days
Modified:
head/tools/regression/geom_eli/resize.t
Modified:
Author: pjd
Date: Tue Oct 25 13:44:23 2011
New Revision: 226730
URL: http://svn.freebsd.org/changeset/base/226730
Log:
When decoding metadata, check magic string, so we know this is not GELI device
before we check its version. We don't want to report that some garbage is
unsupported version
Author: pjd
Date: Tue Oct 25 13:49:48 2011
New Revision: 226731
URL: http://svn.freebsd.org/changeset/base/226731
Log:
Revert r226726. The line was not duplicated.
Spotted by: pluknet
MFC after:3 days
Modified:
head/sbin/hastctl/Makefile
Modified: head/sbin/hastctl/Makefile
+.It Li 6.2 Ta 3
+.It Li 6.3 Ta 3
+.It Li 6.4 Ta 3
+.Pp
+.It Li 7.0 Ta 3
+.It Li 7.1 Ta 3
+.It Li 7.2 Ta 3
+.It Li 7.3 Ta 3
+.It Li 7.4 Ta 3
+.Pp
+.It Li 8.0 Ta 3
+.It Li 8.1 Ta 3
+.It Li 8.2 Ta 5
+.Pp
+.It Li 9.0 Ta 6
+.El
+.Pp
.Sh AUTHORS
.An Pawel Jakub Dawidek Aq p...@freebsd.org
Modified: head
Author: pjd
Date: Tue Oct 25 14:01:17 2011
New Revision: 226734
URL: http://svn.freebsd.org/changeset/base/226734
Log:
The v_data field is a pointer, so set it to NULL, not 0.
MFC after:3 days
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
Author: pjd
Date: Tue Oct 25 14:04:59 2011
New Revision: 226735
URL: http://svn.freebsd.org/changeset/base/226735
Log:
Simplify disk_alloc().
MFC after:3 days
Modified:
head/sys/geom/geom_disk.c
Modified: head/sys/geom/geom_disk.c
Author: pjd
Date: Tue Oct 25 14:05:39 2011
New Revision: 226736
URL: http://svn.freebsd.org/changeset/base/226736
Log:
Improve style a bit.
MFC after:3 days
Modified:
head/sys/geom/geom_disk.c
Modified: head/sys/geom/geom_disk.c
Author: pjd
Date: Tue Oct 25 14:07:17 2011
New Revision: 226737
URL: http://svn.freebsd.org/changeset/base/226737
Log:
Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not
supported by returning EOPNOTSUPP instead of 0 or ENODEV.
MFC after:3 days
Modified:
Author: pjd
Date: Tue Oct 25 16:22:43 2011
New Revision: 226738
URL: http://svn.freebsd.org/changeset/base/226738
Log:
Don't look for includes in userland directories. There is no need for it
and it breaks building the kernel without userland sources.
Reported by: andre, imp
MFC
Author: pjd
Date: Mon Oct 24 20:41:31 2011
New Revision: 226700
URL: http://svn.freebsd.org/changeset/base/226700
Log:
Don't forget to rename mounted snapshots of the file system being renamed.
MFC after:2 weeks
Modified:
Author: pjd
Date: Mon Oct 24 21:14:50 2011
New Revision: 226705
URL: http://svn.freebsd.org/changeset/base/226705
Log:
Extend r226676 to allow rename without unmount even for file systems with
non-legacy mountpoints. It is better to be able to rename such file systems
and
let them be
, Oracle and/or its affiliates. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2011 Pawel Jakub Dawidek pa...@dawidek.net.
+ * All rights reserved.
*/
#include assert.h
Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h
:53 2011(r226707)
@@ -21,6 +21,8 @@
/*
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011 by Delphix. All rights reserved.
+ * Copyright (c) 2011 Pawel Jakub Dawidek pa...@dawidek.net.
+ * All rights reserved.
*/
#include sys
Author: pjd
Date: Mon Oct 24 00:38:09 2011
New Revision: 226676
URL: http://svn.freebsd.org/changeset/base/226676
Log:
Allow to rename file systems without remounting if it is possible.
It is possible for file systems with 'mountpoint' preperty set to 'legacy'
or 'none' - we don't have to
Author: pjd
Date: Mon Oct 24 05:26:40 2011
New Revision: 226678
URL: http://svn.freebsd.org/changeset/base/226678
Log:
Include sys/zfs_vfsops.h only when compiling kernel module.
MFC after:2 weeks
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c
Modified:
) 2011 Andriy Gapon
+ * Copyright (c) 2011 Pawel Jakub Dawidek pa...@dawidek.net
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -28,8 +29,10 @@
#include sys/param.h
#include sys/queue.h
+#include err.h
#include errno.h
#include fcntl.h
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/tools/tools/zfsboottest/zfsboottest.sh Fri Oct 21 13:44:26 2011
(r226612)
@@ -0,0 +1,130 @@
+#!/bin/sh
+#
+# Copyright (c) 2011 Pawel Jakub
Author: pjd
Date: Fri Oct 21 13:53:06 2011
New Revision: 226613
URL: http://svn.freebsd.org/changeset/base/226613
Log:
libzpool task_alloc: pass only valid flags to kmem_alloc
tqflags may contain other flags besided those that are suitable for
kmem_alloc == umem_alloc
Submitted by:
Author: pjd
Date: Fri Oct 21 13:54:58 2011
New Revision: 226615
URL: http://svn.freebsd.org/changeset/base/226615
Log:
thr_create: new_thread_ID may be NULL
Submitted by: avg
MFC after:3 days
Modified:
head/cddl/contrib/opensolaris/head/thread.h
Modified:
Author: pjd
Date: Fri Oct 21 13:56:17 2011
New Revision: 226616
URL: http://svn.freebsd.org/changeset/base/226616
Log:
zdb: access dp_free_bpobj only if pool version is = SPA_VERSION_DEADLISTS
Submitted by: avg
MFC after:3 days
Modified:
head/cddl/contrib/opensolaris/cmd/zdb/zdb.c
Author: pjd
Date: Fri Oct 21 14:00:48 2011
New Revision: 226617
URL: http://svn.freebsd.org/changeset/base/226617
Log:
zfs vdev_file_io_start: validate vdev before using vdev_tsd
vdev_tsd can be NULL for certain vdev states.
At least in userland testing with ztest.
Submitted by: avg
Author: pjd
Date: Fri Oct 21 21:49:34 2011
New Revision: 226620
URL: http://svn.freebsd.org/changeset/base/226620
Log:
Update per-thread I/O statistics collection in ZFS.
This allows to see processes I/O activity in 'top -m io' output.
PRkern/156218
Reported by: Marcus
On Thu, Oct 20, 2011 at 10:06:35AM +0300, Andriy Gapon wrote:
on 20/10/2011 02:48 Pawel Jakub Dawidek said the following:
Author: pjd
Date: Wed Oct 19 23:48:15 2011
New Revision: 226554
URL: http://svn.freebsd.org/changeset/base/226554
Log:
Fix missing return when
and it
fixes all my problems.
Please, wait no longer and commit your patch! We have to have this in 9.0.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http
Author: pjd
Date: Thu Oct 20 15:42:38 2011
New Revision: 226568
URL: http://svn.freebsd.org/changeset/base/226568
Log:
- Correctly read gang header from raidz.
- Decompress assembled gang block data if compressed.
- Verify checksum of a gang header.
- Verify checksum of assembled gang
Author: pjd
Date: Thu Oct 20 15:46:54 2011
New Revision: 226569
URL: http://svn.freebsd.org/changeset/base/226569
Log:
With LOADER_MBR_SUPPORT defined and LOADER_GPT_SUPPORT undefined we would
never call disk_openmbr().
Submitted by: avg
MFC after:3 days
Modified:
Author: pjd
Date: Thu Oct 20 21:01:50 2011
New Revision: 226583
URL: http://svn.freebsd.org/changeset/base/226583
Log:
Make all the lines align properly.
MFC after:3 days
Modified:
head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
Modified:
Author: pjd
Date: Wed Oct 19 23:31:50 2011
New Revision: 226549
URL: http://svn.freebsd.org/changeset/base/226549
Log:
Remove redundant size calculation.
MFC after:3 days
Modified:
head/sys/cddl/boot/zfs/zfssubr.c
Modified: head/sys/cddl/boot/zfs/zfssubr.c
Author: pjd
Date: Wed Oct 19 23:33:48 2011
New Revision: 226550
URL: http://svn.freebsd.org/changeset/base/226550
Log:
Initialize 'rc' properly before using it. This error could lead to infinite
loop when data reconstruction was needed.
MFC after:3 days
Modified:
Author: pjd
Date: Wed Oct 19 23:37:30 2011
New Revision: 226551
URL: http://svn.freebsd.org/changeset/base/226551
Log:
Don't mark vdev as healthy too soon, so we won't try to use invalid vdevs.
MFC after:3 days
Modified:
head/sys/boot/zfs/zfsimpl.c
Modified:
Author: pjd
Date: Wed Oct 19 23:40:37 2011
New Revision: 226552
URL: http://svn.freebsd.org/changeset/base/226552
Log:
Never pass NULL block pointer when reading. This is neither expected nor
handled by lower layers like vdev_raidz, which uses bp for checksum
verification. This bug could
Author: pjd
Date: Wed Oct 19 23:44:38 2011
New Revision: 226553
URL: http://svn.freebsd.org/changeset/base/226553
Log:
Always pass data size for checksum verification function, as using
physical block size declared in bp may not always be what we want.
For example in case of gang block
Author: pjd
Date: Wed Oct 19 23:48:15 2011
New Revision: 226554
URL: http://svn.freebsd.org/changeset/base/226554
Log:
Fix missing return when LOADER_GPT_SUPPORT is defined, but LOADER_MBR_SUPPORT
is not.
MFC after:3 days
Modified:
head/sys/boot/common/disk.c
Modified:
Author: pjd
Date: Mon Oct 17 09:54:07 2011
New Revision: 226461
URL: http://svn.freebsd.org/changeset/base/226461
Log:
When path to the configuration file is relative, obtain full path,
so we can always find the file, even after daemonizing and changing
working directory to /.
MFC
Author: pjd
Date: Mon Oct 17 09:59:04 2011
New Revision: 226462
URL: http://svn.freebsd.org/changeset/base/226462
Log:
Remove redundant space.
MFC after:1 week
Modified:
head/sbin/hastd/hast.h
Modified: head/sbin/hastd/hast.h
Author: pjd
Date: Mon Oct 17 12:22:09 2011
New Revision: 226463
URL: http://svn.freebsd.org/changeset/base/226463
Log:
Allow to specify pidfile in HAST configuration file.
MFC after:1 week
Modified:
head/sbin/hastd/hast.conf.5
head/sbin/hastd/hast.h
head/sbin/hastd/hastd.c
Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgplBXvSPA2Ir.pgp
Description: PGP signature
*/
+ usrbufs = malloc(sizeof(void *) * d-nmsgs, M_TEMP, M_ZERO |
M_WAITOK);
for (i = 0; i d-nmsgs; i++) {
m = ((struct iic_msg *)buf)[i];
usrbufs[i] = m-buf;
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD
Author: pjd
Date: Sun Oct 16 21:30:15 2011
New Revision: 226450
URL: http://svn.freebsd.org/changeset/base/226450
Log:
In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)
and the caller requested other process' PID by passing non-NULL pidptr
argument, we will wait
Author: pjd
Date: Wed Sep 28 13:08:51 2011
New Revision: 225830
URL: http://svn.freebsd.org/changeset/base/225830
Log:
After every activemap change flush disk's write cache, so that write
reordering won't make the actual write to be committed before marking
the coresponding extent as dirty.
Author: pjd
Date: Wed Sep 28 13:13:43 2011
New Revision: 225831
URL: http://svn.freebsd.org/changeset/base/225831
Log:
Break a bit earlier.
MFC after:3 days
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Wed Sep 28 13:19:47 2011
New Revision: 225832
URL: http://svn.freebsd.org/changeset/base/225832
Log:
If the underlying provider doesn't support BIO_FLUSH, log it only once
and don't bother trying in the future.
MFC after:3 days
Modified:
head/sbin/hastd/hast.h
Author: pjd
Date: Wed Sep 28 13:25:27 2011
New Revision: 225835
URL: http://svn.freebsd.org/changeset/base/225835
Log:
Correct typo.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: pjd
Date: Tue Sep 27 06:43:51 2011
New Revision: 225773
URL: http://svn.freebsd.org/changeset/base/225773
Log:
Ensure that pjdlog functions don't modify errno.
MFC after:3 days
Modified:
head/sbin/hastd/pjdlog.c
Modified: head/sbin/hastd/pjdlog.c
Author: pjd
Date: Tue Sep 27 06:53:30 2011
New Revision: 225774
URL: http://svn.freebsd.org/changeset/base/225774
Log:
Mikolaj needs no mentor anymore.
Thanks to Kostik for the help with co-mentoring Mikolaj.
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
Author: pjd
Date: Tue Sep 27 07:52:39 2011
New Revision: 225781
URL: http://svn.freebsd.org/changeset/base/225781
Log:
No need to use KEEP_ERRNO() macro around pjdlog functions, as they don't
modify errno.
MFC after:3 days
Modified:
head/sbin/hastd/proto_tcp.c
Author: pjd
Date: Tue Sep 27 07:57:15 2011
New Revision: 225782
URL: http://svn.freebsd.org/changeset/base/225782
Log:
Prefer PJDLOG_ASSERT() and PJDLOG_ABORT() over assert() and abort().
pjdlog versions will log problem to syslog when application is running in
background.
MFC after:
Author: pjd
Date: Tue Sep 27 07:59:10 2011
New Revision: 225783
URL: http://svn.freebsd.org/changeset/base/225783
Log:
Correct two mistakes when converting asserts to
PJDLOG_ASSERT()/PJDLOG_ABORT().
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified:
Author: pjd
Date: Tue Sep 27 08:04:01 2011
New Revision: 225784
URL: http://svn.freebsd.org/changeset/base/225784
Log:
- Convert some impossible conditions into assertions.
- Add missing 'if' in comment.
MFC after:3 days
Modified:
head/sbin/hastd/parse.y
Modified:
Author: pjd
Date: Tue Sep 27 08:21:00 2011
New Revision: 225785
URL: http://svn.freebsd.org/changeset/base/225785
Log:
Prefer PJDLOG_ASSERT()/PJDLOG_ABORT() over assert().
MFC after:3 days
Modified:
head/sbin/hastctl/hastctl.c
Modified: head/sbin/hastctl/hastctl.c
Author: pjd
Date: Tue Sep 27 08:26:09 2011
New Revision: 225786
URL: http://svn.freebsd.org/changeset/base/225786
Log:
No need to wrap pjdlog functions around with KEEP_ERRNO() macro.
MFC after:3 days
Modified:
head/sbin/hastd/primary.c
Modified: head/sbin/hastd/primary.c
Author: pjd
Date: Tue Sep 27 08:50:37 2011
New Revision: 225787
URL: http://svn.freebsd.org/changeset/base/225787
Log:
Use PJDLOG_ASSERT() and PJDLOG_ABORT() everywhere instead of assert().
MFC after:3 days
Modified:
head/sbin/hastd/activemap.c
head/sbin/hastd/ebuf.c
Author: pjd
Date: Wed Aug 24 22:07:38 2011
New Revision: 225153
URL: http://svn.freebsd.org/changeset/base/225153
Log:
We need to unlock and destroy vnode attached to znode which we are freeing.
Reviewed by: kib
Approved by: re (bz)
MFC after:1 week
Modified:
Author: pjd
Date: Tue Aug 23 07:00:51 2011
New Revision: 225100
URL: http://svn.freebsd.org/changeset/base/225100
Log:
MFC r224791:
Eliminate the zfsdev_state_lock entirely and replace it with the
spa_namespace_lock. This fixes LOR between the spa_namespace_lock and
spa_config lock.
Author: pjd
Date: Fri Aug 12 07:04:16 2011
New Revision: 224791
URL: http://svn.freebsd.org/changeset/base/224791
Log:
Eliminate the zfsdev_state_lock entirely and replace it with the
spa_namespace_lock. This fixes LOR between the spa_namespace_lock and
spa_config lock. LOR can cause
Author: pjd
Date: Sun Jul 17 20:35:30 2011
New Revision: 224147
URL: http://svn.freebsd.org/changeset/base/224147
Log:
Add some spare fields to the g_class and g_geom structures needed to implement
direct I/O handling and provider's property changes handling.
Modified:
head/sys/geom/geom.h
for the offensive commit.
When I compile HEAD on an older FreeBSD where system's tzsetup doesn't
have -C option, installworld breaks. It tries to use system's tzsetup
instead of building current one along with toolchain and using that.
--
Pawel Jakub Dawidek http
Author: pjd
Date: Mon Jun 27 09:10:48 2011
New Revision: 223584
URL: http://svn.freebsd.org/changeset/base/223584
Log:
Log a warning if we cannot sandbox using capsicum, but only under debug level
1.
It would be too noisy to log it as a proper warning as CAPABILITIES are not
compiled into
Author: pjd
Date: Mon Jun 27 09:14:25 2011
New Revision: 223585
URL: http://svn.freebsd.org/changeset/base/223585
Log:
Compile capsicum support only if HAVE_CAPSICUM is defined.
MFC after:3 days
Modified:
head/sbin/hastd/subr.c
Modified: head/sbin/hastd/subr.c
Author: pjd
Date: Mon Jun 27 09:15:41 2011
New Revision: 223586
URL: http://svn.freebsd.org/changeset/base/223586
Log:
Compile hastd and hastctl with capsicum support.
X-MFC after: capsicum merge
Modified:
head/sbin/hastctl/Makefile
head/sbin/hastd/Makefile
Modified:
Author: pjd
Date: Sat Jun 18 22:32:55 2011
New Revision: 223278
URL: http://svn.freebsd.org/changeset/base/223278
Log:
Correct subcommand name 'unset' - 'unscript'.
Modified:
head/sbin/ddb/ddb.8
Modified: head/sbin/ddb/ddb.8
accordingly. The patch also implements ZFS bits to detect vdev size
changes and eventually autoexpand the pool.
Could you look at the patch and see how we could add property changes to
your API?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer
and load everything from
modules.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgphfvHb6PDdH.pgp
Description: PGP signature
LAN.
In the future it would be nice if you could send patches for review
before you commit them with 3 days MFC time. HAST is actively
maintained.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil
Author: pjd
Date: Tue May 31 07:02:49 2011
New Revision: 222518
URL: http://svn.freebsd.org/changeset/base/222518
Log:
Imagine situation where a security problem is found in setuid binary.
User upgrades his system to fix the problem, but if he has any ZFS snapshots
for the file system which
-time)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpm7R2AUZt9X.pgp
Description: PGP signature
Author: pjd
Date: Fri May 27 08:34:31 2011
New Revision: 222343
URL: http://svn.freebsd.org/changeset/base/222343
Log:
Silence warnings about unsupoorted value types.
MFC after:2 weeks
Modified:
head/sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c
Modified:
Author: pjd
Date: Tue May 24 20:07:15 2011
New Revision: 67
URL: http://svn.freebsd.org/changeset/base/67
Log:
Don't access task structure once we call task function.
The task structure might be no longer available.
This also allows to eliminates the need for two tasks in the zio
Author: pjd
Date: Tue May 24 20:10:12 2011
New Revision: 68
URL: http://svn.freebsd.org/changeset/base/68
Log:
Don't pass pointer to name buffer which is on the stack to another thread,
because the stack might be paged out once the other thread tries to use the
data. Instead, just
Author: pjd
Date: Mon May 23 20:59:50 2011
New Revision: 24
URL: http://svn.freebsd.org/changeset/base/24
Log:
To handle BIO_FLUSH and BIO_DELETE requests in secondary worker we need
to use ioctl(2). This is why we can't use capsicum for now to sandbox
secondary. Capsicum is still
Author: pjd
Date: Mon May 23 21:00:37 2011
New Revision: 25
URL: http://svn.freebsd.org/changeset/base/25
Log:
Recognize BIO_FLUSH requests and pass them to userland.
MFC after:1 week
Modified:
head/sys/geom/gate/g_gate.c
Modified: head/sys/geom/gate/g_gate.c
Author: pjd
Date: Mon May 23 21:15:19 2011
New Revision: 28
URL: http://svn.freebsd.org/changeset/base/28
Log:
Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH
requests as well as number of activemap updates.
Number of BIO_WRITEs and activemap updates
Author: pjd
Date: Sat May 21 20:21:20 2011
New Revision: 222164
URL: http://svn.freebsd.org/changeset/base/222164
Log:
Recognize HIO_FLUSH requests.
MFC after:1 week
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
added)
+++ head/sbin/hastd/proto_tcp.c Fri May 20 11:06:17 2011(r222115, copy
of r222085, head/sbin/hastd/proto_tcp4.c)
@@ -0,0 +1,597 @@
+/*-
+ * Copyright (c) 2009-2010 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Pawel Jakub Dawidek under
Author: pjd
Date: Fri May 20 11:09:02 2011
New Revision: 222116
URL: http://svn.freebsd.org/changeset/base/222116
Log:
Rename tcp4 to tcp in preparation for IPv6 support.
MFC after:3 weeks
Modified:
head/sbin/hastd/Makefile
head/sbin/hastd/proto_tcp.c
Modified:
Author: pjd
Date: Fri May 20 11:10:39 2011
New Revision: 222117
URL: http://svn.freebsd.org/changeset/base/222117
Log:
Allow [ ] characters in strings. They might be used in IPv6 addresses.
MFC after:3 weeks
Modified:
head/sbin/hastd/token.l
Modified: head/sbin/hastd/token.l
Foundation
+ * Copyright (c) 2011 Pawel Jakub Dawidek pa...@dawidek.net
* All rights reserved.
*
* This software was developed by Pawel Jakub Dawidek under sponsorship from
@@ -51,10 +52,10 @@ __FBSDID($FreeBSD$);
#include proto_impl.h
#include subr.h
-#defineTCP_CTX_MAGIC 0x7c441c
Author: pjd
Date: Fri May 20 11:15:27 2011
New Revision: 222119
URL: http://svn.freebsd.org/changeset/base/222119
Log:
Rename ipv4/ipv6 to tcp4/tcp6.
MFC after:3 weeks
Modified:
head/sbin/hastd/hast.h
head/sbin/hastd/parse.y
Modified: head/sbin/hastd/hast.h
Author: pjd
Date: Fri May 20 11:16:25 2011
New Revision: 222120
URL: http://svn.freebsd.org/changeset/base/222120
Log:
If no listen address is specified, bind by default to:
tcp4://0.0.0.0:8457
tcp6://[::]:8457
MFC after:3 weeks
Modified:
head/sbin/hastd/parse.y
Author: pjd
Date: Fri May 20 11:21:39 2011
New Revision: 222121
URL: http://svn.freebsd.org/changeset/base/222121
Log:
Document IPv6 support.
MFC after:3 weeks
Modified:
head/sbin/hastd/hast.conf.5
Modified: head/sbin/hastd/hast.conf.5
Author: pjd
Date: Thu May 19 23:18:42 2011
New Revision: 222108
URL: http://svn.freebsd.org/changeset/base/222108
Log:
In preparation for IPv6 support allow to specify multiple addresses to
listen on.
MFC after:3 weeks
Modified:
head/sbin/hastd/hast.conf.5
head/sbin/hastd/hast.h
potential evil.
If geom_mirror.ko is loaded it won't work, as gmirror keeps its
components open for writing. But if this is GENERIC and geom_mirror.ko
is not loaded, you should be fine.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer
that it fixes the warning.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpqtfHcv0ouD.pgp
Description: PGP signature
701 - 800 of 1570 matches
Mail list logo