From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753214AbcL2RMn (ORCPT ); Thu, 29 Dec 2016 12:12:43 -0500 Received: from b.ns.miles-group.at ([95.130.255.144]:44725 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752901AbcL2RMm (ORCPT ); Thu, 29 Dec 2016 12:12:42 -0500 Subject: Re: [PATCH 3/6] ubifs: Use 64bit readdir cookies To: "J. Bruce Fields" References: <1480629741-18375-1-git-send-email-richard@nod.at> <1480629741-18375-4-git-send-email-richard@nod.at> <20161229025835.GC21325@fieldses.org> <20161229153407.GA29149@fieldses.org> <20161229161534.GA29261@fieldses.org> <224abf2f-c820-5df1-6292-42c1e2d47933@nod.at> <20161229165920.GA29744@fieldses.org> Cc: linux-mtd@lists.infradead.org, david@sigma-star.at, tytso@mit.edu, dedekind1@gmail.com, adrian.hunter@intel.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, adilger.kernel@dilger.ca, akpm@linux-foundation.org, linux-ext4@vger.kernel.org From: Richard Weinberger Message-ID: <6ba02247-cb0e-e925-207e-4ea3fc37b9b7@nod.at> Date: Thu, 29 Dec 2016 18:05:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <20161229165920.GA29744@fieldses.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.12.2016 17:59, J. Bruce Fields wrote: > OK, good. So the random nonce is stored with the entry, and the hash > you can always recalculate from the filename, so if you return entries > in nonce+hash order, then you can keep that order stable even across > deletes and renames. Yes. Thanks, //richard