From owner-freebsd-hackers@freebsd.org Sun Jan 10 17:04:17 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 6B652A6B24B for ; Sun, 10 Jan 2016 17:04:17 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 387EF1EEC for ; Sun, 10 Jan 2016 17:04:16 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 676634F865; Sun, 10 Jan 2016 17:04:10 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id u0AH48CY014172; Sun, 10 Jan 2016 17:04:09 GMT (envelope-from phk@phk.freebsd.dk) To: Willem Jan Withagen cc: freebsd-hackers@freebsd.org Subject: Re: Attribute order in storing and retreiving extended attributes In-reply-to: <56928D06.4050500@digiware.nl> From: "Poul-Henning Kamp" References: <56928D06.4050500@digiware.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14170.1452445448.1@critter.freebsd.dk> Date: Sun, 10 Jan 2016 17:04:08 +0000 Message-ID: <14171.1452445448@critter.freebsd.dk> X-Mailman-Approved-At: Sun, 10 Jan 2016 17:18:08 +0000 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:04:17 -0000 -------- 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.