From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f67.google.com ([209.85.218.67]:33247 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935975AbeE3Igr (ORCPT ); Wed, 30 May 2018 04:36:47 -0400 Received: by mail-oi0-f67.google.com with SMTP id k5-v6so15608469oiw.0 for ; Wed, 30 May 2018 01:36:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20180529132148.GC23785@veci.piliscsaba.redhat.com> <20180529135938.GA5631@infradead.org> From: Miklos Szeredi Date: Wed, 30 May 2018 10:36:46 +0200 Message-ID: Subject: Re: [GIT PULL] overlayfs update for 4.18 To: Christoph Hellwig Cc: Al Viro , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, overlayfs Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, May 29, 2018 at 4:12 PM, Miklos Szeredi wrote: > On Tue, May 29, 2018 at 3:59 PM, Christoph Hellwig wrote: >>> vfs: export vfs_dedupe_file_range_one() to modules >> >> Please use EXPORT_SYMBOL_GPL for all these crazy low-level exports. I'd argue with the "crazy" part. This should have been the primary interface from the start. The batched dedupe interface is the crazy one: - deduping is page size granularity at worst; performance would not be horrible even if we had to do one syscall per page - vast majority of the time it will be file size granularity Why was that batching invented in the first place? Thanks, Miklos