Re: What is Fast task queue? (Was: How to understand what `swi5' kernel thread does?)

2012-08-29 Thread Andrey Zonov
On 8/28/12 3:44 PM, John Baldwin wrote: On Monday, August 27, 2012 4:47:13 pm Lev Serebryakov wrote: Hello, John. You wrote 27 августа 2012 г., 20:26:03: What fast tasks are performed via this queue? Under network load it is main consumer of CPU. JB Certain NIC drivers perform much of

Re: [PATCH] Add a -h flag to mv

2012-08-29 Thread Gary Jennejohn
On Tue, 28 Aug 2012 10:58:09 -0400 John Baldwin j...@freebsd.org wrote: I have a use case at work where I need to be able to update a symlink that points to a directory atomically (so that it points to a new directory). To give a conrete example, suppose I have two directories 'foo' and

Re: What is Fast task queue? (Was: How to understand what `swi5' kernel thread does?)

2012-08-29 Thread Lev Serebryakov
Hello, Andrey. You wrote 29 августа 2012 г., 11:17:09: AZ If you have more than one CPU, you can try this patch [1]. It adds I have only one cput (Geode LX 500 Mhz) without any HT or other virtual CPUs at all. One core, one thread :) -- // Black Lion AKA Lev Serebryakov l...@freebsd.org

Re: Can't build FreeBSD-head with CLANG

2012-08-29 Thread Eir Nym
-- Eir Nym On 29 August 2012 01:19, Dimitry Andric d...@freebsd.org wrote: On 2012-08-28 23:05, Eir Nym wrote: ... This one for example: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith

Re: Can't build FreeBSD-head with CLANG

2012-08-29 Thread Eir Nym
-- Eir Nym On 29 August 2012 12:41, Eir Nym eir...@gmail.com wrote: -- Eir Nym On 29 August 2012 01:19, Dimitry Andric d...@freebsd.org wrote: On 2012-08-28 23:05, Eir Nym wrote: ... This one for example: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls

Re: [PATCH] Add a -h flag to mv

2012-08-29 Thread Jilles Tjoelker
On Tue, Aug 28, 2012 at 10:58:09AM -0400, John Baldwin wrote: I have a use case at work where I need to be able to update a symlink that points to a directory atomically (so that it points to a new directory). To give a conrete example, suppose I have two directories 'foo' and 'bar', and a

Re: per file descriptor device callbacks ?

2012-08-29 Thread Konstantin Belousov
On Wed, Aug 29, 2012 at 06:55:26AM +0200, Luigi Rizzo wrote: On Wed, Aug 29, 2012 at 07:12:40AM +0300, Konstantin Belousov wrote: On Tue, Aug 28, 2012 at 08:42:26PM +0200, Luigi Rizzo wrote: On Tue, Aug 28, 2012 at 08:26:06PM +0300, Konstantin Belousov wrote: ... dev_clone() is

Re: [PATCH] Add a -h flag to mv

2012-08-29 Thread John Baldwin
On Wednesday, August 29, 2012 6:02:47 am Jilles Tjoelker wrote: On Tue, Aug 28, 2012 at 10:58:09AM -0400, John Baldwin wrote: I have a use case at work where I need to be able to update a symlink that points to a directory atomically (so that it points to a new directory). To give a

Re: [PATCH] Add a -h flag to mv

2012-08-29 Thread Jilles Tjoelker
On Wed, Aug 29, 2012 at 08:09:20AM -0400, John Baldwin wrote: On Wednesday, August 29, 2012 6:02:47 am Jilles Tjoelker wrote: GNU coreutils mv (and also cp/install/ln) appears to use -T/--no-target-directory for a similar purpose: -T prevents the target being treated as a directory (whether

Re: [PATCH] Add a -h flag to mv

2012-08-29 Thread John Baldwin
On Wednesday, August 29, 2012 3:32:13 pm Jilles Tjoelker wrote: On Wed, Aug 29, 2012 at 08:09:20AM -0400, John Baldwin wrote: On Wednesday, August 29, 2012 6:02:47 am Jilles Tjoelker wrote: GNU coreutils mv (and also cp/install/ln) appears to use -T/--no-target-directory for a similar

[RFT] Some updates to libc/rpc

2012-08-29 Thread Pedro Giffuni
Hello; The Bull NFS4 for linux project took our RPC support from libc and did some enhancements on it for a while. The libraries have been diverging extensively and many of the changes are linux specific. The complete log of their changes is here:

[PATCH] Add locking to adv(4)

2012-08-29 Thread John Baldwin
Continuing with the theme of locking older storage drivers, I have patches to add locking to adv(4) and mark it MPSAFE. The patches are from HEAD but should apply to 8 or 9. If you test it on 8 or 9 please enable INVARIANTS for at least the initial testing. Thanks.

[CFT] Some updates to libc/rpc (second try)

2012-08-29 Thread Pedro Giffuni
(Second try with a more benign mailer) Hello; A while back the Bull NFS4 for linux project took our RPC support from libcand did some enhancements on it. The libraries have been diverging extensively and many of the changes are linux specific. The complete log of their changes is here:

[PATCH] Locking for adw(4)

2012-08-29 Thread John Baldwin
Continuing with the theme of locking older storage drivers, I have patches to add locking to adw(4) and mark it MPSAFE. The patches are from HEAD but should apply to 8 or 9. If you test it on 8 or 9 please enable INVARIANTS for at least the initial testing. Thanks.