Author: pjd
Date: Wed May 18 22:43:56 2011
New Revision: 222087
URL: http://svn.freebsd.org/changeset/base/222087
Log:
- Add support for AF_INET6 sockets for %S format character.
- Use inet_ntop(3) instead of reimplementing it.
- Use %hhu for unsigned char instead of casting it to unsigned
));
+ (wrote past end of sbuf (%jd = %jd),
+ (intmax_t)s-s_len, (intmax_t)s-s_size));
For ssize_t we have %zd.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am
Author: pjd
Date: Sat May 14 16:55:24 2011
New Revision: 221898
URL: http://svn.freebsd.org/changeset/base/221898
Log:
When using capsicum to sanbox, still use other methods first, just in case
one of them have some problems.
Modified:
head/sbin/hastd/subr.c
Modified:
Author: pjd
Date: Sat May 14 17:02:03 2011
New Revision: 221899
URL: http://svn.freebsd.org/changeset/base/221899
Log:
Currently we are unable to use capsicum for the primary worker process,
because we need to do ioctl(2)s, which are not permitted in the capability
mode. What we do now is
int mismatch on 32-bit architectures...
Thanks a lot!
Apparently I did `make universe` in the wrong tree...
Sure... :)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am
Author: pjd
Date: Sun May 8 09:08:50 2011
New Revision: 221624
URL: http://svn.freebsd.org/changeset/base/221624
Log:
Add magic field to the g_eli_key structure to detect if we are really
operating on proper structures.
MFC after:1 week
Modified:
Author: pjd
Date: Sun May 8 09:09:49 2011
New Revision: 221625
URL: http://svn.freebsd.org/changeset/base/221625
Log:
Drop proper key.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli_integrity.c
Modified: head/sys/geom/eli/g_eli_integrity.c
Author: pjd
Date: Sun May 8 09:11:04 2011
New Revision: 221626
URL: http://svn.freebsd.org/changeset/base/221626
Log:
Remove prototype for a function that no longer exist.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli.h
Modified: head/sys/geom/eli/g_eli.h
Author: pjd
Date: Sun May 8 09:17:56 2011
New Revision: 221628
URL: http://svn.freebsd.org/changeset/base/221628
Log:
When support for multiple encryption keys was committed, GELI integrity mode
was not updated to pass CRD_F_KEY_EXPLICIT flag to opencrypto. This resulted
in
always using
Author: pjd
Date: Sun May 8 09:25:16 2011
New Revision: 221629
URL: http://svn.freebsd.org/changeset/base/221629
Log:
Detect and handle metadata of version 6.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli.h
Modified: head/sys/geom/eli/g_eli.h
Author: pjd
Date: Sun May 8 09:25:54 2011
New Revision: 221630
URL: http://svn.freebsd.org/changeset/base/221630
Log:
Version 6 is compatible with version 5 when it comes to control commands.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli_ctl.c
Modified:
Author: pjd
Date: Sun May 8 09:29:21 2011
New Revision: 221631
URL: http://svn.freebsd.org/changeset/base/221631
Log:
Export GELI class version via sysctl kern.geom.eli.version.
MFC after:1 week
Modified:
head/sys/geom/eli/g_eli.c
Modified: head/sys/geom/eli/g_eli.c
May 8 09:46:09 2011
(r221633)
@@ -1,4 +1,4 @@
-.\ Copyright (c) 2005-2010 Pawel Jakub Dawidek p...@freebsd.org
+.\ Copyright (c) 2005-2011 Pawel Jakub Dawidek pa...@dawidek.net
.\ All rights reserved.
.\
.\ Redistribution and use in source and binary forms, with or without
@@ -627,9
Author: pjd
Date: Sun May 8 11:10:56 2011
New Revision: 221643
URL: http://svn.freebsd.org/changeset/base/221643
Log:
Allow to specify remote as 'none' again which was broken by r219351, where
'none' was defined as a value for checksum.
Reported by: trasz
MFC after:1 week
such configuration is not worth
the efforts and actually I'd prefer to use the same sysctl tree
(vfs.nfs.*) and the same fstype (nfs) in both clients. User would decide
which to use by loading one kernel module or the other.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
just 'nfs' everywhere (sysctls, fstype, etc.), so that we won't end
up with 'newnfs' in random places in five years from now. What you do
with old NFS is less important to me:)
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http
Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpFgkEQ7CmhQ.pgp
Description: PGP signature
when data provider and journal providers
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgp0VnxRUbAas.pgp
Description: PGP signature
);
mutex_exit(tx-tx_sync_lock);
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpVDcyxzBUcS.pgp
Description: PGP signature
to, eg. ad0p1, so there is no taste event which allows
glabel to detect the change, so the label is not updated in /dev/gpt/.
There is a patch on freebsd-geom@ to move GPT labels/IDs to GPART.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer
, and especially users, if I hack all mentioned above GEOM
classes to ignore adX/adaY difference in provider names. And it should
perfectly fit into remaining time window.
Could you be more specific what the hack would do exactly?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
data and hardcoding
provider name allows to choose the proper one.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpYmjKQaLxPU.pgp
Description
On Tue, Apr 26, 2011 at 10:19:55AM +0300, Alexander Motin wrote:
On 26.04.2011 10:00, Pawel Jakub Dawidek wrote:
On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote:
I've thought about the process of fixing hardcoded provider names there,
and it is absolutely not trivial. If we
On Tue, Apr 26, 2011 at 10:50:17AM +0300, Alexander Motin wrote:
On 26.04.2011 10:35, Pawel Jakub Dawidek wrote:
On Tue, Apr 26, 2011 at 10:19:55AM +0300, Alexander Motin wrote:
On 26.04.2011 10:00, Pawel Jakub Dawidek wrote:
On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote
.
It does look good, indeed.
What's the problem with zpool? It should operate on GEOM providers only.
Also, ZFS should not be affected by providers name changes.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
On Tue, Apr 26, 2011 at 11:45:37AM +0300, Alexander Motin wrote:
On 26.04.2011 11:34, Pawel Jakub Dawidek wrote:
On Tue, Apr 26, 2011 at 11:18:06AM +0300, Alexander Motin wrote:
What do you think about this:
http://docs.freebsd.org/cgi/mid.cgi?4DB54BA9.5050901
? I've found that zpool utility
metadata, so symlink won't help.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgphYasTLOfQ1.pgp
Description: PGP signature
Author: pjd
Date: Sun Apr 24 10:41:13 2011
New Revision: 220984
URL: http://svn.freebsd.org/changeset/base/220984
Log:
One key is expected from providers smaller than or equal to (2^20)*sectorsize
bytes. Remove bogus assertion and while here remove another too obvious
assertion.
and no manual
intervention should be needed.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpjNffXu8RSN.pgp
Description: PGP signature
(c) 2005-2010 Pawel Jakub Dawidek p...@freebsd.org
+ * Copyright (c) 2005-2011 Pawel Jakub Dawidek pa...@dawidek.net
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -329,7 +329,7 @@ g_eli_newsession(struct g_eli_worker *wr
crie.cri_klen
Author: pjd
Date: Thu Apr 21 13:35:20 2011
New Revision: 220923
URL: http://svn.freebsd.org/changeset/base/220923
Log:
If number of keys for the given provider doesn't exceed the limit,
allocate all of them at attach time. This allows to avoid moving
keys around in the most-recently-used
Author: pjd
Date: Thu Apr 21 21:15:11 2011
New Revision: 220930
URL: http://svn.freebsd.org/changeset/base/220930
Log:
Add g_eli_key_cache.c to GELI.
MFC after:2 weeks
Modified:
head/sys/conf/files
Modified: head/sys/conf/files
Now, if tmp_off is 4096 what will happen if you have a race like the
above? Is it critical? Then you need to protect some other code with
this mutex as well.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Author: pjd
Date: Wed Apr 20 16:36:59 2011
New Revision: 220889
URL: http://svn.freebsd.org/changeset/base/220889
Log:
Timeout must be positive.
MFC after:1 week
Modified:
head/sbin/hastd/parse.y
Modified: head/sbin/hastd/parse.y
Author: pjd
Date: Wed Apr 20 16:38:05 2011
New Revision: 220890
URL: http://svn.freebsd.org/changeset/base/220890
Log:
If we act in different role than requested by the remote node, log it
as a warning and not an error.
MFC after:1 week
Modified:
head/sbin/hastd/hastd.c
Modified:
Author: pjd
Date: Wed Apr 20 18:43:28 2011
New Revision: 220898
URL: http://svn.freebsd.org/changeset/base/220898
Log:
When we become primary, we connect to the remote and expect it to be in
secondary role. It is possible that the remote node is primary, but only
because there was a role
Author: pjd
Date: Wed Apr 20 18:49:12 2011
New Revision: 220899
URL: http://svn.freebsd.org/changeset/base/220899
Log:
Correct comment.
MFC after:1 week
Modified:
head/sbin/hastd/hastd.c
Modified: head/sbin/hastd/hastd.c
Author: pjd
Date: Tue Apr 19 19:26:27 2011
New Revision: 220865
URL: http://svn.freebsd.org/changeset/base/220865
Log:
Scenario:
- We have two nodes connected and synchronized (local counters on both sides
are 0).
- We take secondary down and recreate it.
- Primary connects to it and
afterwards.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgppFrhLwoiAo.pgp
Description: PGP signature
, if there are any.
Every freebsd_version bump forces rebuilding all modules and such and is a
pita.
I agree that this is a PITA, but there also should be a way to force
module load even on version bump. This is PITA especially for
developers.
--
Pawel Jakub Dawidek http
for other purposes too.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgp1qSb3OEnrS.pgp
Description: PGP signature
reasons (we can't put holes back and we can crash in the middle).
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
pgpaERe1jUaAu.pgp
Description: PGP
);
+ if (gp == NULL)
+ return;
+ gctl_error(req, Unknown verb);
+}
Seems to be a no-op. GEOM can cope if this method is not specified.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Author: pjd
Date: Tue Apr 12 19:13:10 2011
New Revision: 220573
URL: http://svn.freebsd.org/changeset/base/220573
Log:
The replication mode that is currently support is fullsync, not memsync.
Correct this and print a warning if different replication mode is
configured.
MFC after:1
Author: pjd
Date: Tue Apr 12 20:31:33 2011
New Revision: 220575
URL: http://svn.freebsd.org/changeset/base/220575
Log:
Fix 'zfs list path' handling. If the path was found, the 'ret' variable was
uninitialized.
PR: kern/155940
Submitted by: KOIE Hidetaka k...@suri.co.jp
MFC
Author: pjd
Date: Sat Apr 2 06:56:06 2011
New Revision: 220264
URL: http://svn.freebsd.org/changeset/base/220264
Log:
GEOM has an internal mechanism to deal with ENOMEM errors returned via
g_io_deliver(). In such case it increases 'pace' counter on each ENOMEM and
reschedules the request.
Author: pjd
Date: Sat Apr 2 06:59:05 2011
New Revision: 220265
URL: http://svn.freebsd.org/changeset/base/220265
Log:
Because ggatel(8) operates on local GEOM providers, use unlimited queue size
in
GEOM GATE to fix the issue described in r220264. This also means that we no
longer need -q
Author: pjd
Date: Sat Apr 2 07:01:09 2011
New Revision: 220266
URL: http://svn.freebsd.org/changeset/base/220266
Log:
Handle the problem described in r220264 by using GEOM GATE queue of unlimited
length. This should fix deadlocks reported by HAST users.
MFC after:1 week
Modified:
Author: pjd
Date: Sat Apr 2 09:22:06 2011
New Revision: 220270
URL: http://svn.freebsd.org/changeset/base/220270
Log:
Allow to disable sends or receives on a socket using shutdown(2) by
interpreting NULL 'data' argument passed to proto_common_send() or
proto_common_recv() as a will to do
Author: pjd
Date: Sat Apr 2 09:25:13 2011
New Revision: 220271
URL: http://svn.freebsd.org/changeset/base/220271
Log:
Declare directions for sockets between primary and secondary.
In HAST we use two sockets - one for only sending the data and one for only
receiving the data.
MFC
/proto_common.c Sat Apr 2 09:25:13 2011
(r220271)
+++ head/sbin/hastd/proto_common.c Sat Apr 2 09:29:53 2011
(r220272)
@@ -1,5 +1,6 @@
/*-
* Copyright (c) 2009-2010 The FreeBSD Foundation
+ * Copyright (c) 2011 Pawel Jakub Dawidek pa...@dawidek.net
* All rights reserved
Author: pjd
Date: Sat Apr 2 09:31:02 2011
New Revision: 220273
URL: http://svn.freebsd.org/changeset/base/220273
Log:
Handle ENOBUFS on send(2) by retrying for a while and logging the problem.
MFC after:1 week
Modified:
head/sbin/hastd/proto_common.c
Modified:
On Sat, Apr 02, 2011 at 09:22:06AM +, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Sat Apr 2 09:22:06 2011
New Revision: 220270
URL: http://svn.freebsd.org/changeset/base/220270
Log:
Allow to disable sends or receives on a socket using shutdown(2) by
interpreting NULL 'data
Author: pjd
Date: Sat Apr 2 09:34:33 2011
New Revision: 220274
URL: http://svn.freebsd.org/changeset/base/220274
Log:
Increase default timeout from 5 seconds to 20 seconds. 5 seconds is definitely
to short under heavy load and I was experiencing those timeouts in my recent
tests.
MFC
Author: pjd
Date: Sat Mar 26 07:15:57 2011
New Revision: 220023
URL: http://svn.freebsd.org/changeset/base/220023
Log:
Follow style(9) in example code and handle opendir(3) error.
Modified:
head/lib/libc/gen/directory.3
Modified: head/lib/libc/gen/directory.3
Author: pjd
Date: Sat Mar 26 07:17:24 2011
New Revision: 220024
URL: http://svn.freebsd.org/changeset/base/220024
Log:
Don't calculate len too early.
Modified:
head/lib/libc/gen/directory.3
Modified: head/lib/libc/gen/directory.3
Author: pjd
Date: Fri Mar 25 20:19:15 2011
New Revision: 220007
URL: http://svn.freebsd.org/changeset/base/220007
Log:
Add mapsize to the header just before sending the packet.
Before it could change later and we were sending invalid mapsize.
Some time ago I added optimization where when
Author: pjd
Date: Thu Mar 24 20:28:09 2011
New Revision: 219973
URL: http://svn.freebsd.org/changeset/base/219973
Log:
Checking file access on size change is bogus. The checks are done earlier by
VFS where we know if this is truncate(2) or ftruncate(2). If this is the
latter we should
Author: pjd
Date: Wed Mar 23 11:09:04 2011
New Revision: 219900
URL: http://svn.freebsd.org/changeset/base/219900
Log:
Don't create socketpair for connection forwarding between parent and
secondary.
Secondary doesn't need to connect anywhere.
MFC after:1 week
Modified:
Author: pjd
Date: Tue Mar 22 10:39:34 2011
New Revision: 219864
URL: http://svn.freebsd.org/changeset/base/219864
Log:
White space cleanups.
MFC after:1 week
Modified:
head/sbin/hastd/activemap.c
head/sbin/hastd/hastd.8
head/sbin/hastd/hastd.c
head/sbin/hastd/primary.c
Author: pjd
Date: Tue Mar 22 16:21:11 2011
New Revision: 219873
URL: http://svn.freebsd.org/changeset/base/219873
Log:
The proto API is a general purpose API, so don't use 'hast' in structures or
function names. It can now be used outside of HAST.
MFC after:1 week
Modified:
Author: pjd
Date: Tue Mar 22 21:11:36 2011
New Revision: 219884
URL: http://svn.freebsd.org/changeset/base/219884
Log:
Forgot to commit this as part of r219873.
MFC after:1 week
Modified:
head/sbin/hastctl/Makefile
Modified: head/sbin/hastctl/Makefile
==
--- head/sbin/hastd/subr.c Tue Mar 22 21:16:14 2011(r219886)
+++ head/sbin/hastd/subr.c Tue Mar 22 21:19:51 2011(r219887)
@@ -1,5 +1,6 @@
/*-
* Copyright (c) 2010 The FreeBSD Foundation
+ * Copyright (c) 2011 Pawel Jakub Dawidek
Author: pjd
Date: Mon Mar 21 08:31:35 2011
New Revision: 219813
URL: http://svn.freebsd.org/changeset/base/219813
Log:
If there is any traffic on one of out descriptors, we were not checking for
long running hooks. Fix it by not using select(2) timeout to decide if we want
to check hooks or
Author: pjd
Date: Mon Mar 21 08:33:58 2011
New Revision: 219814
URL: http://svn.freebsd.org/changeset/base/219814
Log:
When creating connection on behalf of primary worker, set pjdlog prefix
to resource name and role, so that any logs related to that can be identified
properly.
MFC
Author: pjd
Date: Mon Mar 21 08:36:50 2011
New Revision: 219815
URL: http://svn.freebsd.org/changeset/base/219815
Log:
Add snprlcat() and vsnprlcat() - the functions I'm always missing.
They work as a combination of snprintf(3) and strlcat(3) - the caller
can append a string build based on
Author: pjd
Date: Mon Mar 21 08:37:50 2011
New Revision: 219816
URL: http://svn.freebsd.org/changeset/base/219816
Log:
Use snprlcat() instead of two strlcat(3)s.
MFC after:1 week
Modified:
head/sbin/hastd/hooks.c
Modified: head/sbin/hastd/hooks.c
Author: pjd
Date: Mon Mar 21 08:38:24 2011
New Revision: 219817
URL: http://svn.freebsd.org/changeset/base/219817
Log:
Log when we start hooks checking and when we execute a hook.
MFC after:1 week
Modified:
head/sbin/hastd/hooks.c
Modified: head/sbin/hastd/hooks.c
Author: pjd
Date: Mon Mar 21 08:54:59 2011
New Revision: 219818
URL: http://svn.freebsd.org/changeset/base/219818
Log:
In hast.conf we define the other node's address in 'remote' variable.
This way we know how to connect to secondary node when we are primary.
The same variable is used by
Author: pjd
Date: Mon Mar 21 11:52:00 2011
New Revision: 219821
URL: http://svn.freebsd.org/changeset/base/219821
Log:
Forgot to commit this as a part of r219818.
MFC after:1 week
Modified:
head/sbin/hastctl/hastctl.c
Modified: head/sbin/hastctl/hastctl.c
Author: pjd
Date: Mon Mar 21 14:50:12 2011
New Revision: 219830
URL: http://svn.freebsd.org/changeset/base/219830
Log:
Detect situation where resource internal identifier differs.
This means that both nodes have separately managed resources that don't
have the same data.
MFC after:
Author: pjd
Date: Mon Mar 21 14:51:16 2011
New Revision: 219831
URL: http://svn.freebsd.org/changeset/base/219831
Log:
Be pedantic and free nvout before exiting.
MFC after:1 week
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Mon Mar 21 14:53:27 2011
New Revision: 219832
URL: http://svn.freebsd.org/changeset/base/219832
Log:
Increase debug level of Checking hooks. message.
MFC after:1 week
Modified:
head/sbin/hastd/hooks.c
Modified: head/sbin/hastd/hooks.c
Author: pjd
Date: Mon Mar 21 15:08:10 2011
New Revision: 219833
URL: http://svn.freebsd.org/changeset/base/219833
Log:
Remove stale comment. Yes, it is valid to set role back to init.
MFC after:1 week
Modified:
head/sbin/hastd/control.c
Modified: head/sbin/hastd/control.c
Author: pjd
Date: Mon Mar 21 15:29:20 2011
New Revision: 219837
URL: http://svn.freebsd.org/changeset/base/219837
Log:
Before handling any events on descriptors check signals so we can update
our info about worker processes if any of them was terminated in the meantime.
This fixes the
Author: pjd
Date: Mon Mar 21 21:14:07 2011
New Revision: 219843
URL: http://svn.freebsd.org/changeset/base/219843
Log:
Fix typo.
MFC after:1 week
Modified:
head/sbin/hastd/secondary.c
Modified: head/sbin/hastd/secondary.c
Author: pjd
Date: Mon Mar 21 21:16:12 2011
New Revision: 219844
URL: http://svn.freebsd.org/changeset/base/219844
Log:
Initialize localcnt on first write. This fixes assertion when we create
resource, set role to primary, do no writes, then sent it to secondary
and accept connection from
Author: pjd
Date: Mon Mar 21 21:31:50 2011
New Revision: 219847
URL: http://svn.freebsd.org/changeset/base/219847
Log:
When dropping privileges prefer capsicum over chroot+setgid+setuid.
We can use capsicum for secondary worker processes and hastctl.
When working as primary we drop
Author: pjd
Date: Wed Mar 16 08:58:09 2011
New Revision: 219696
URL: http://svn.freebsd.org/changeset/base/219696
Log:
From fts.c comment:
The FTS_NOSTAT option can avoid a lot of calls to stat(2) if it knows that a
directory could not possibly have subdirectories. This is decided by
Author: pjd
Date: Tue Mar 15 13:53:39 2011
New Revision: 219669
URL: http://svn.freebsd.org/changeset/base/219669
Log:
Remove #include needed for debugging.
MFC after:1 week
Modified:
head/sbin/hastd/proto_common.c
Modified: head/sbin/hastd/proto_common.c
Author: pjd
Date: Mon Mar 14 11:07:12 2011
New Revision: 219636
URL: http://svn.freebsd.org/changeset/base/219636
Log:
Fix potential panic in dbuf_sync_list() relate to spill blocks handling.
Obtained from:IllumOS
MFC after:1 month
Modified:
...
And yes, I just heard, it is snowing in hell.
This is for you, Nathan:
http://www.youtube.com/watch?v=4m8ltkjO7Pg
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am
Author: pjd
Date: Sun Mar 13 19:35:13 2011
New Revision: 219621
URL: http://svn.freebsd.org/changeset/base/219621
Log:
POSIX accepts only ELOOP if O_NOFOLLOW is specified and target is a symlink.
Modified:
head/tools/regression/pjdfstest/tests/open/16.t
Modified:
Author: pjd
Date: Sat Mar 12 14:09:43 2011
New Revision: 219566
URL: http://svn.freebsd.org/changeset/base/219566
Log:
Add some missing consts.
Modified:
head/tools/regression/pjdfstest/pjdfstest.c
Modified: head/tools/regression/pjdfstest/pjdfstest.c
On Fri, Mar 11, 2011 at 01:11:15PM +, John Baldwin wrote:
Author: jhb
Date: Fri Mar 11 13:11:15 2011
New Revision: 219483
URL: http://svn.freebsd.org/changeset/base/219483
Log:
Remove all object files during 'make clean'.
Oops, I think that was me. Thank you, John.
--
Pawel Jakub
Author: pjd
Date: Thu Mar 10 20:37:54 2011
New Revision: 219462
URL: http://svn.freebsd.org/changeset/base/219462
Log:
Please welcome Mikolaj Golub as a new src committer.
Mikolaj will be working on HAST and I'm sure lots of other stuff.
I'll be his mentor and kib@ will help me.
Author: pjd
Date: Thu Mar 10 20:59:02 2011
New Revision: 219463
URL: http://svn.freebsd.org/changeset/base/219463
Log:
Improve test a bit, now that we have fstat(2) support.
The test was support to check if SUID/SGID bits are removed on first
write, but actually we were checking if they
Author: pjd
Date: Thu Mar 10 21:00:30 2011
New Revision: 219464
URL: http://svn.freebsd.org/changeset/base/219464
Log:
Add support for *at syscalls:
- openat(2)
- unlinkat(2)
- mkdirat(2)
- linkat(2)
- symlinkat(2)
- renameat(2)
- mkfifoat(2)
- mknodat(2)
- fchmodat(2)
-
Author: pjd
Date: Wed Mar 9 22:39:10 2011
New Revision: 219437
URL: http://svn.freebsd.org/changeset/base/219437
Log:
Add support for the following syscalls:
- fchmod(2),
- fchown(2),
- fchflags(2),
- fstat(2),
- ftruncate(2),
- fpathconf(2),
- lpathconf(2).
Make write(2)
Author: pjd
Date: Wed Mar 9 22:50:15 2011
New Revision: 219438
URL: http://svn.freebsd.org/changeset/base/219438
Log:
Pass descriptor number to write(2), now that it is possible.
Modified:
head/tools/regression/pjdfstest/pjdfstest.c
head/tools/regression/pjdfstest/tests/chmod/12.t
Author: pjd
Date: Wed Mar 9 23:11:30 2011
New Revision: 219439
URL: http://svn.freebsd.org/changeset/base/219439
Log:
Few initial ftruncate(2) tests. One of them covers stand/154873.
PR: stand/154873
Added:
head/tools/regression/pjdfstest/tests/ftruncate/
Author: pjd
Date: Tue Mar 8 18:39:41 2011
New Revision: 219404
URL: http://svn.freebsd.org/changeset/base/219404
Log:
Correct readdir over ZFS handling.
Reported by: Pierre Beyssac p...@fasterix.frmug.org
MFC after:1 month
Modified:
On Tue, Mar 08, 2011 at 06:39:41PM +, Pawel Jakub Dawidek wrote:
Author: pjd
Date: Tue Mar 8 18:39:41 2011
New Revision: 219404
URL: http://svn.freebsd.org/changeset/base/219404
Log:
Correct readdir over ZFS handling.
s/ZFS/NFS/
--
Pawel Jakub Dawidek http
Author: pjd
Date: Wed Mar 9 07:43:51 2011
New Revision: 219424
URL: http://svn.freebsd.org/changeset/base/219424
Log:
Change example to not be controversial.
I'm sorry to anyone who felt offended by this.
PR: docs/155385
Reported by: maga_lena mi...@riseup.net
MFC after:
Author: pjd
Date: Mon Mar 7 09:28:21 2011
New Revision: 219368
URL: http://svn.freebsd.org/changeset/base/219368
Log:
To be able to use printf extensions we need to turn off gcc format checking.
Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT,
which, when defined in
Author: pjd
Date: Mon Mar 7 10:33:52 2011
New Revision: 219369
URL: http://svn.freebsd.org/changeset/base/219369
Log:
Provides three states for pjdlog_initialized, so we can also tell that
this is fist initialization ever.
MFC after:2 weeks
Modified:
head/sbin/hastd/pjdlog.c
Author: pjd
Date: Mon Mar 7 10:38:18 2011
New Revision: 219370
URL: http://svn.freebsd.org/changeset/base/219370
Log:
- Turn on printf extentions.
- Load support for %T for pritning time.
- Add support for %N for printing number in human readable form.
- Add support for %S for printing
Author: pjd
Date: Mon Mar 7 10:39:26 2011
New Revision: 219371
URL: http://svn.freebsd.org/changeset/base/219371
Log:
Use %S to print IP address and port number.
MFC after:2 weeks
Modified:
head/sbin/hastd/proto_tcp4.c
Modified: head/sbin/hastd/proto_tcp4.c
Author: pjd
Date: Mon Mar 7 10:41:12 2011
New Revision: 219372
URL: http://svn.freebsd.org/changeset/base/219372
Log:
- Log size of data to synchronize in human readable form (using %N).
- Log synchronization time (using %T).
- Log synchronization speed in human readable form (using %N).
Author: pjd
Date: Mon Mar 7 10:42:28 2011
New Revision: 219373
URL: http://svn.freebsd.org/changeset/base/219373
Log:
Print some of the numbers in human readable form (using %N).
MFC after:2 weeks
Modified:
head/sbin/hastctl/hastctl.c
Modified: head/sbin/hastctl/hastctl.c
801 - 900 of 1570 matches
Mail list logo