Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp156080ybg; Mon, 27 Jul 2020 18:52:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3KucUV1MNcNMu4LBQcegJsi8eCXC0UNz6/XLZJIJFpcci6Db4kIc4F1iNkqYK+62XcIdX X-Received: by 2002:a17:906:248b:: with SMTP id e11mr22343157ejb.280.1595901164025; Mon, 27 Jul 2020 18:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595901164; cv=none; d=google.com; s=arc-20160816; b=RDCkn7CXCVESLEO/c2e4jbk+XtJ2JSiUeda4C0mc92lpce0We4lNKAxiL4m/4+KJpH ruI7bwtQDRPWcEmLRAtum17B+Nguk8h4Ht+exTKNsL/p2Ic3+jMls8S9KDjV8jqKMUsu tGGq89g/NsejypJ2+i9OO+JintLRUM8ynWtMMwIKc54amCgfAKB+cJqk97OZgzlxqMz5 QX2frTYetjteGsLYoPJvdDcB6rLshmvB4LPVwLBxKOg6cZro5wbDRpxdj+KwpOYDbF85 Cc11NGwVURH0EibetROkQUiWtmIwFIfOypONndWssz3+HNOW1f4qhmiTHWvlf2ohkpXh U17g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sO5DBW8cKfAwrO4ChCjI6ktCdvfob49E/MQneeyqWGA=; b=MfoNk7x3SVb6XsWkWbMTVJtHVjnbbAYITmExb217DWp7LBT/2V0v96F3s3Qkmjblic hu/dmrVsFKQV36Cef2YZYrY15vdbUOB3r+0oovl1CyB3oX+JuZxJFkvzxe2RVz0+/L0X YDbKOkIAxNVxIzl9T0jSUgyxhMVn69S5p5jyRSOULlpwDRIMxjgnW4M+W/T5bKsYz2IW wWtC4bbNw7HIywXJx6yc9YGd+LhOU6VwAZo2qQipEFz+jAEopDsUOyjiYHgejhusFc97 IE757d3t1eoBwsSMRqCfLFP/tGBjntjVrLesEpJlARaKIFvSgWRbeR5wBxgxB/+nbxOp /t3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=EQh16+tJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu20si3653692edb.537.2020.07.27.18.52.21; Mon, 27 Jul 2020 18:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=EQh16+tJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbgG1BuK (ORCPT + 99 others); Mon, 27 Jul 2020 21:50:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbgG1BuK (ORCPT ); Mon, 27 Jul 2020 21:50:10 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 017BAC061794; Mon, 27 Jul 2020 18:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sO5DBW8cKfAwrO4ChCjI6ktCdvfob49E/MQneeyqWGA=; b=EQh16+tJezpBCQzOPoGKRmK7tx rUU9S+ewLhBxfY8sfxvrACb0HgWQEPyDfriXZeY+1Qcy4tXecE1iY6bb6bP9rKhRfcA9karWizDFU X34xVM3QWYJJgdaxRjX7FiNqBbKem5a6KzCdvnt3EDLC43aUe4/uPzlusL2HHlvG7A+4sjD+ArBK9 hBhsC+AiRxftL568fyevrFOI6ONxLd//10BOX7rIcO04xzcTZpuTsfRj9Rqgx35X42iaxgXILc+Fm /TZi9plKEEjDqiXHrQYcehpFRjT7NCFWeL1PjxuyH+wPoP9Ax8AkSMVN9NZEoOMb+izFu2nk2kb05 uWWJ+D6Q==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k0Ekh-00070f-DB; Tue, 28 Jul 2020 01:50:00 +0000 Date: Tue, 28 Jul 2020 02:49:59 +0100 From: Matthew Wilcox To: Christoph Hellwig Cc: Kanchan Joshi , axboe@kernel.dk, viro@zeniv.linux.org.uk, bcrl@kvack.org, Damien.LeMoal@wdc.com, asml.silence@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aio@kvack.org, io-uring@vger.kernel.org, linux-block@vger.kernel.org, linux-api@vger.kernel.org, Selvakumar S , Nitesh Shetty , Javier Gonzalez Subject: Re: [PATCH v4 1/6] fs: introduce FMODE_ZONE_APPEND and IOCB_ZONE_APPEND Message-ID: <20200728014959.GO23808@casper.infradead.org> References: <1595605762-17010-1-git-send-email-joshi.k@samsung.com> <1595605762-17010-2-git-send-email-joshi.k@samsung.com> <20200726151810.GA25328@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200726151810.GA25328@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 04:18:10PM +0100, Christoph Hellwig wrote: > Zone append is a protocol context that ha not business showing up > in a file system interface. The right interface is a generic way > to report the written offset for an append write for any kind of file. > So we should pick a better name like FMODE_REPORT_APPEND_OFFSET > (not that I particularly like that name, but it is the best I could > quickly come up with). Is it necessarily *append*? There were a spate of papers about ten years ago for APIs that were "write anywhere and I'll tell you where it ended up". So FMODE_ANONYMOUS_WRITE perhaps?