Optimization bug with floating-point?

2019-03-12 Thread Steve Kargl
All, There seems to an optimization bug with clang on % uname -a FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT r344653 MOBILE i386 IOW, if you do numerica work on i386, you may want to check your results. The program demonstrating the issue is at the end of this email. gcc8 --version gcc8

Re: kqueue send over unix socket?

2019-03-12 Thread Aki Tuomi
Hi! I am trying exactly that. dtrace output gives following # dtrace -s sendmsg.d -p 61387 dtrace: script 'sendmsg.d' matched 30667 probes CPU IDFUNCTION:NAME 0 16637 uipc_send:return kernel`sosend_generic+0x556 kernel`kern_

Re: kqueue send over unix socket?

2019-03-12 Thread Mark Johnston
On Tue, Mar 12, 2019 at 04:10:19PM -0500, Larry Rosenman wrote: > I'm working with Aki Tuomi of Dovecot and he asks: > > I tried to ask if you could ask from some Kernel hacker why I cannot > send kqueue() fd over unix socket, I get "Operation not supported". > > Can anyone help me? What exactl

Re: kqueue send over unix socket?

2019-03-12 Thread Konstantin Belousov
On Tue, Mar 12, 2019 at 04:10:19PM -0500, Larry Rosenman wrote: > I'm working with Aki Tuomi of Dovecot and he asks: > > I tried to ask if you could ask from some Kernel hacker why I cannot > send kqueue() fd over unix socket, I get "Operation not supported". Right, because sending kqfd to other

Re: kqueue send over unix socket?

2019-03-12 Thread Alan Somers
Is he trying to send the kqueue file descriptor itself using sendmsg with SCM_RIGHTS? It sounds like kqueues cannot be sent over unix sockets; not every file type necessarily can. But if you want to know the nitty-gritty details, just run this: dtrace -i 'fbt:::return /arg1 == 45/ {stack();}' -c

kqueue send over unix socket?

2019-03-12 Thread Larry Rosenman
I'm working with Aki Tuomi of Dovecot and he asks: I tried to ask if you could ask from some Kernel hacker why I cannot send kqueue() fd over unix socket, I get "Operation not supported". Can anyone help me? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Adam
On Tue, Mar 12, 2019 at 4:56 PM Andriy Gapon wrote: > > Valid point. So how do I control the order of mounts of zfs? > > If you really want / need / have to do it, then disable ZFS auto mounting > in one > of multiple ways (zfs_enable="NO", canmount=noauto, mountpoint=legacy) and > use > your ow

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Andriy Gapon
On 12/03/2019 18:40, Rodney W. Grimes wrote: >> On 12/03/2019 11:37, Trond Endrest?l wrote: >>> # Parallel mounting of ZFS filesystems leaves a chaotic listing of >>> # mounted filesystems when viewed by df(1). >> >> df reports filesystems in the order they were mounted. >> If you unmount and remou

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Andriy Gapon
On 12/03/2019 18:33, Rodney W. Grimes wrote: >> On 12/03/2019 02:12, Rodney W. Grimes wrote: >>> Perhaps make zfs list -s mountpoint a default? >> >> Why? > > P O L A People have become use to this being sorted, now it is not. Your suggestion would be a POLA violation. Nothing changed with resp

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Rodney W. Grimes
> On 12/03/2019 11:37, Trond Endrest?l wrote: > > # Parallel mounting of ZFS filesystems leaves a chaotic listing of > > # mounted filesystems when viewed by df(1). > > df reports filesystems in the order they were mounted. > If you unmount and remount a filesystem or mount a new filesystem, you c

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Rodney W. Grimes
> On 12/03/2019 02:12, Rodney W. Grimes wrote: > >> On 11/03/2019 23:03, Freddie Cash wrote: > >>> Wouldn't it make more sense to teach df, du, "zfs list", and other things > >>> that list the mounted filesystems to use sorted output? > >> > >> | sort [desired options] > > > > Except that df and z

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Jan Martin Mikkelsen
> On 12 Mar 2019, at 12:14, Trond Endrestøl > wrote: >> An alternative sort approach, which handles df arguments which change the >> number of columns, and only invokes df once: >> >> ${DF} "$@" | awk '/^Filesystem/ { print; sort = "sort -k " NF } ! >> /^Filesystem/ { print | sort }’ > > Wel

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Trond Endrestøl
On Tue, 12 Mar 2019 13:27+0200, Andriy Gapon wrote: > On 12/03/2019 11:37, Trond Endrestøl wrote: > > # Parallel mounting of ZFS filesystems leaves a chaotic listing of > > # mounted filesystems when viewed by df(1). > > df reports filesystems in the order they were mounted. > If you unmount and

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Trond Endrestøl
On Tue, 12 Mar 2019 12:14+0100, Trond Endrestøl wrote: > On Tue, 12 Mar 2019 11:37+0100, Jan Martin Mikkelsen wrote: > > > > On 12 Mar 2019, at 10:37, Trond Endrestøl > > > wrote: > > > I concocted a shell script, it looks promising: > > > > > > #!/bin/sh > > > #- > > > # Parallel mounting of

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Andriy Gapon
On 12/03/2019 11:37, Trond Endrestøl wrote: > # Parallel mounting of ZFS filesystems leaves a chaotic listing of > # mounted filesystems when viewed by df(1). df reports filesystems in the order they were mounted. If you unmount and remount a filesystem or mount a new filesystem, you can see it fo

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Trond Endrestøl
On Tue, 12 Mar 2019 11:37+0100, Jan Martin Mikkelsen wrote: > > On 12 Mar 2019, at 10:37, Trond Endrestøl > > wrote: > > I concocted a shell script, it looks promising: > > > > #!/bin/sh > > #- > > # Parallel mounting of ZFS filesystems leaves a chaotic listing of > > # mounted filesystems when

FreeBSD CI Weekly Report 2019-03-10

2019-03-12 Thread Li-Wen Hsu
(bcc -current and -stable for more audience) FreeBSD CI Weekly Report 2019-03-10 === Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-02-03 to 2019-03-10. During this period, we have: * 1890 builds (95.6% passed, 4.4% faile

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Jan Martin Mikkelsen
> On 12 Mar 2019, at 10:37, Trond Endrestøl > wrote: > I concocted a shell script, it looks promising: > > #!/bin/sh > #- > # Parallel mounting of ZFS filesystems leaves a chaotic listing of > # mounted filesystems when viewed by df(1). > # Separating the header from the remaining lines and so

Re: ZFS no longer mounted in alphanumerical order

2019-03-12 Thread Trond Endrestøl
On Tue, 12 Mar 2019 08:54+0200, Andriy Gapon wrote: > On 12/03/2019 02:12, Rodney W. Grimes wrote: > >> On 11/03/2019 23:03, Freddie Cash wrote: > >>> Wouldn't it make more sense to teach df, du, "zfs list", and other things > >>> that list the mounted filesystems to use sorted output? > >> > >> |