Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp898763ybl; Wed, 4 Dec 2019 12:54:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwQJ5k1ZjF7VqEP3mqSoS7CpzySM8WBpCOWr1miRO2kvibWTngi8glrDuCgofrnp3UeZZZ5 X-Received: by 2002:aca:3846:: with SMTP id f67mr4228739oia.61.1575492866067; Wed, 04 Dec 2019 12:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575492866; cv=none; d=google.com; s=arc-20160816; b=pOLFkQrDs0vBXD6BhgYVHgePT9kz8dJUw9Hqu9S2i0x6bgyXqNq9CijiN61KVXDvSl zmYz+ag+wdp6tNLM0J0BlME23HrBUJHg9heGddLeJrjQLkhY0NEaSc6+hGDVHhbxTNeL TGl/HRpSW6sEZVd/IS5rM3jDSY2GP13g6LzY2krBZ+ptNg+40h4dB2mH8x9LBsdq/Wyt Qm/ZmnMXM8X6L1a42sK6TI/fh6BKssLAZQXWQB1Z2M0K9EhNEV+L5oYx78tHxkmrQc2k Frc6sAFUacLmBIOO12cXIP4eHxTI1lOA9r1JsTiZua/tLCva7XkReO0f1yDAKrqYM9ui O4cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=NZddst7dCzHWjS0/50GoMWINbOIfZn951qiizUpcx8Y=; b=YemWu3JDGpLFbpfTK6KNry8deArDlPOQ2QPj5zze2b0vTsYdtaNTyG7uVWqcAHlJzu rOi8hBq96q/Cxrsq8/9N4Bv81WVRPhpgnSVex36fdIWpcnaFXvCMmLKjvoUxuvf3zcUY JfIGOn6ORiv6bqAdFqVusqY9GZvDd18lF14O4ZIWYK/6t/6vW43fECoJKxeqHw/ojbDk 11yyjHi12rBozxHKAp+sRKUzvwpx0E5N3qAUm4lDr/qFbgH6+gjdqEXNci3d51v3Es5Q mYRigEsO7SooAiv97jhqeNN19IixVtNsCz8t4M7T1lU9qly2kI1w4OALsJnDtDc64Xrx sHGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si3564552oti.167.2019.12.04.12.54.14; Wed, 04 Dec 2019 12:54:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728117AbfLDUxa (ORCPT + 99 others); Wed, 4 Dec 2019 15:53:30 -0500 Received: from mail.phunq.net ([66.183.183.73]:47278 "EHLO phunq.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727889AbfLDUxa (ORCPT ); Wed, 4 Dec 2019 15:53:30 -0500 Received: from [172.16.1.14] by phunq.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.92.3) (envelope-from ) id 1icbeK-0007Yx-JU; Wed, 04 Dec 2019 12:53:28 -0800 Subject: Re: [RFC] Thing 1: Shardmap fox Ext4 From: Daniel Phillips To: Andreas Dilger Cc: "Theodore Y. Ts'o" , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, OGAWA Hirofumi References: <176a1773-f5ea-e686-ec7b-5f0a46c6f731@phunq.net> <20191127142508.GB5143@mit.edu> <6b6242d9-f88b-824d-afe9-d42382a93b34@phunq.net> <6C8DAF47-CA09-4F3B-BF32-2D7044C1EE78@dilger.ca> <22c57727-2826-8945-1964-66e66fe82d39@phunq.net> Message-ID: <57e71e35-b3a4-67e8-d5db-af3b41e9230a@phunq.net> Date: Wed, 4 Dec 2019 12:53:28 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <22c57727-2826-8945-1964-66e66fe82d39@phunq.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 2019-12-04 12:47 p.m., Daniel Phillips wrote: > On 2019-12-04 10:03 a.m., Andreas Dilger wrote: >>> Here is a pretty picture to get started: >>> >>> https://github.com/danielbot/Shardmap/wiki/Shardmap-media-format >> >> The shardmap diagram is good conceptually, but it would be useful >> to add a legend on the empty side of the diagram that shows the on-disk >> structures. > > Sounds good, but not sure exactly what you had in mind. Fields of a > shard entry? Fields of the block 0 header? The record entry block has > its own diagram, and is polymorphic anyway, so no fixed format. Ah, the legend can explain that lower tier shard 2 is in process of being split into upper tier shards 4 and 5, and label the shards with offset numbers.