From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tahsin Erdogan Subject: Re: [PATCH 23/28] mbcache: make mbcache more generic Date: Thu, 15 Jun 2017 11:25:02 -0700 Message-ID: References: <20170531081517.11438-1-tahsin@google.com> <20170531081517.11438-23-tahsin@google.com> <20170615074158.GA1764@quack2.suse.cz> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TcG7f9KfzQCygvePjKePN1lsEtBRtHz4JzXHpmIRjGI=; b=gZC92JP/yG8iYRVyQ9fwTFWDAlNGY0e1hDtSdUFcc8yxpiwHr9CGOsSokxAUbu3zwa vX/C19D73XikseeZv8THouau1Hn07u6fitqFpfRb/69hxdsUtjCqv8YeZq1x31kmezBt /5hE1rQN946Eu+zuicDDwo2ZdE2pymr7IUeona68/VBjhFpaZ/Q8brordwpeM7jjNoqs Wpdvf6ccbP1Nt9a44aEb+kvQq99RQmuwDU+wLnvz1uRtvnJ8Q19jqC2D8/2zbNfxwRij BBSsfyJOr0GVn7M5XxjXzxU+H+6Nq7v7Lq7gBZow+rePUGsX9JXwy9hJTDLkoyon6buv iAjw== In-Reply-To: <20170615074158.GA1764@quack2.suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jan Kara Cc: Jan Kara , Theodore Ts'o , Andreas Dilger , Dave Kleikamp , Alexander Viro , Mark Fasheh , Joel Becker , Jens Axboe , Deepa Dinamani , Mike Christie , Fabian Frederick , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, jfs-discussion@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, ocfs2-devel@oss.oracle.com, reiserfs-devel@vger.kernel.org On Thu, Jun 15, 2017 at 12:41 AM, Jan Kara wrote: > Can you explain a bit more what do you mean by "make it more generic" as it > seems you just rename a couple of things here... The change is really just that, having names that are more generic which do not limit use cases to block sharing. In a subsequent patch in the series ("[PATCH v4 27/28] ext4: xattr inode deduplication"), we start using the mbcache code to share xattr inodes. With that patch, old mb_cache_entry.e_block field could be holding either a block number or an inode number, so I renamed things to make them more generic.