From owner-freebsd-hackers@freebsd.org Sun Jan 10 17:41:40 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9165A6BF8F for ; Sun, 10 Jan 2016 17:41:40 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73D361571 for ; Sun, 10 Jan 2016 17:41:40 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 2954C15340A; Sun, 10 Jan 2016 18:41:38 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zeoIeKt8aN02; Sun, 10 Jan 2016 18:41:28 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 4A95F153413; Sun, 10 Jan 2016 18:28:51 +0100 (CET) Subject: Re: Attribute order in storing and retreiving extended attributes To: Poul-Henning Kamp References: <56928D06.4050500@digiware.nl> <14171.1452445448@critter.freebsd.dk> Cc: freebsd-hackers@freebsd.org From: Willem Jan Withagen X-Enigmail-Draft-Status: N1110 Message-ID: <569294D5.6090800@digiware.nl> Date: Sun, 10 Jan 2016 18:28:53 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <14171.1452445448@critter.freebsd.dk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2016 17:41:40 -0000 On 10-1-2016 18:04, Poul-Henning Kamp wrote: > -------- > In message <56928D06.4050500@digiware.nl>, Willem Jan Withagen writes: > >> This is on a ZFS filesystem. >> Is there any particular reason why these is not deterministic? > > You should not expect them to be in any particular order, no such > guarantee is given by the API. > > Filesystem operations such as backups and restore can (also) rearrange > order of extended attribute. > Hi Poul-Henning, I went thru the man pages and there is indeed no such guarantee. Neither do the Linux man pages. So I'm contemplating what to do with the test. It is sort of hard to determine if the Ceph tools somewhere expect this ordering. But for the time being I think I'll just disable the test. --WjW