Re: unionfs bugs, a partial patch and some comments [Was: Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c

2016-08-18 Thread Konstantin Belousov
On Thu, Aug 18, 2016 at 12:03:33AM +, Rick Macklem wrote:
>  Kostik wrote:
> [stuff snipped]
> >insmnque() performs the cleanup on its own, and that default cleanup isnot 
> >suitable >for the situation.  I think that insmntque1() would betterfit your 
> >requirements, your >need to move the common code into a helper.It seems that 
> >>unionfs_ins_cached_vnode() cleanup could reuse it.
> 
> I've attached an updated patch (untested like the last one). This one creates 
> a
> custom version insmntque_stddtr() that first calls unionfs_noderem() and then
> does the same stuff as insmntque_stddtr(). This looks like it does the 
> required
> stuff (unionfs_noderem() is what the unionfs VOP_RECLAIM() does).
> It switches the node back to using its own v_vnlock that is exclusively 
> locked,
> among other things.

The patch looks good to me, from the visual shape of it.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


cannot destroy '': dataset is busy vs iSCSI

2016-08-18 Thread Eugene M. Zheganin
Hi.

I'm using zvol clones with iSCSI. Perdiodically I renew them and destroy
the old ones, but sometimes the clone gets stuck and refuses to be
destroyed:

(I'm showing the full sequence so it's self explanatory who is who's parent)

[root@san2:/etc]# zfs destroy esx/games-reference1@ver5_6   
cannot destroy 'esx/games-reference1@ver5_6': snapshot has dependent clones
use '-R' to destroy the following datasets:
esx/games-reference1-ver5_6-worker111
[root@san2:/etc]# zfs destroy esx/games-reference1-ver5_6-worker111
cannot destroy 'esx/games-reference1-ver5_6-worker111': dataset is busy

The only entity that can hold the dataset open is ctld, so:

[root@san2:/etc]# service ctld reload
[root@san2:/etc]# grep esx/games-reference1-ver5_6-worker111 /etc/ctl.conf
[root@san2:/etc]# zfs destroy esx/games-reference1-ver5_6-worker111  
cannot destroy 'esx/games-reference1-ver5_6-worker111': dataset is busy

As you can see, the clone isn't mentioned in ctl.conf, but still refuses
to be destroyed.
Is there any way to destroy it without restarting ctld or rebooting the
server ? iSCSI is vital for production, but clones sometimes holds lot
of space.

Thanks.
Eugene.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Delay with 11.0-RC2 builds

2016-08-18 Thread Glen Barber
Two issues have been brought to our attention, and as a result, 11.0-RC2
builds will be delayed a day or two while these are investigated.

 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211872
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211926

An update will be sent if the delay is longer than anticipated.

Apologies for the delay, and thank you for your patience.

Glen
On behalf of:   re@



signature.asc
Description: PGP signature


Benchmarks results for FreeBSD 11

2016-08-18 Thread Erich Dollansky
Hi,

I am sure that some know of this site:

http://www.phoronix.com/scan.php?page=article&item=2bsd-7linux-bench&num=4

I wonder about the results for FreeBSD. As I do not have 11 on my
machines, a stupid question. Are there still some debugging aids
enabled in 11?

I know that some of the results are caused by the use of CLang and some
of the results test applications/compilers and not operating systems.

Erich
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Benchmarks results for FreeBSD 11

2016-08-18 Thread Sami Halabi
Hi,
At the bottom of the article there is link to the source benchmark site.
From a quick glance the benchmarks made not with the same hardware for all.
Phoronix is sort of anti-bsd site.. i won't count on the truth of the data
they present.

Sami

בתאריך 19 באוג׳ 2016 02:34 AM,‏ "Erich Dollansky" <
erichsfreebsdl...@alogt.com> כתב:

> Hi,
>
> I am sure that some know of this site:
>
> http://www.phoronix.com/scan.php?page=article&item=2bsd-7linux-bench&num=4
>
> I wonder about the results for FreeBSD. As I do not have 11 on my
> machines, a stupid question. Are there still some debugging aids
> enabled in 11?
>
> I know that some of the results are caused by the use of CLang and some
> of the results test applications/compilers and not operating systems.
>
> Erich
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"