Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp405569ybg; Sun, 26 Jul 2020 08:18:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+d+x7EUBAXawUNSiSd5ODDkp9WZUTbYzQPuDN8p3qD8k2V3NwfphmNVv7GuNo3xyEJLVk X-Received: by 2002:a05:6402:31a3:: with SMTP id dj3mr1865981edb.73.1595776726884; Sun, 26 Jul 2020 08:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595776726; cv=none; d=google.com; s=arc-20160816; b=gO9Rm5YS4TKaGnf0Dvd5e9E9gIRNjOeeQVis5nmOK9Rd6WOV+f63c4mjviF+W+xOlm 4Zm4nnzkYMMGnzbK1fLaRPdvA7pHzHXs82zw8qRbxzusnvhnNodGUj4C/TELnISnbX1D RoMd7aj8c4+yzI9qvbE9tKWE9AwivDKIC91LMbCabKEeF+BXMdwxWq0HlxsSfVjgDzX4 xW9leFRmlOemhr5AiYzAFQEbq0E9ghw2lZb1PT+DY/jSJEJxxkqdFfZdoekNL+5NzKQz IqXoFRYjtyA/lpEw9zLzj14lfpFw8i8TV1T7ycKD1iajGw9F3Me8jMehOYtF6SyanSa2 SeUQ== 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=cYcLOt9xMtmqE1IKx7EJ1yVFnTZAqfZV+W0fuS8FqWc=; b=D8k8e6J0T/hDQsi8bhUZTrfI8o6H4nV4NyogMgsH/WrfH9YrTbPI2oPVhQ55ehXt1w iQHSHY/kJ423ZM5cbK9rY5chnYbub9bi/ZDySMx2bu4UcTnkEAz2rXLRFzQgnRIKKyKR uNM2rLDxJ+02ISr7M2bDzbL1hZ+A3z3fVTlNmPWywfz10QvQ/LXIIX0kumnzchgJG9wS M4VKcA3lIYXI5eKHwkVNYVm6OirWvZKVavGTgNYrx0OFNd3fSkU+NnFnHIGf6B9P5ENM 7XmZuGLglDYrbhG0Uw2YiSYRIV37n6h+IqmilCeFP5kg81Bk0YWyIUobN9verANW1Xkj 7fEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=um7wejtO; 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 o17si4096735ejg.160.2020.07.26.08.18.24; Sun, 26 Jul 2020 08:18:46 -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=um7wejtO; 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 S1726717AbgGZPSV (ORCPT + 99 others); Sun, 26 Jul 2020 11:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbgGZPSU (ORCPT ); Sun, 26 Jul 2020 11:18:20 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8598BC0619D2; Sun, 26 Jul 2020 08:18:20 -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=cYcLOt9xMtmqE1IKx7EJ1yVFnTZAqfZV+W0fuS8FqWc=; b=um7wejtOBrnxldoh/n2UwYzdJD D9kN+dcL/MsT/0uG9sGqD8xfLD9J1OZl36V8NSMrE09UsBqvu5cey9jY62V9FZ+l0rfWlK2XivUQ5 IvH8MMhKTIuHmlxZTP2YzPDzfb5cybiixpKPU2L9yzQiyshm67sAIyAYZaS1u71ZYizWOSQI2tkmZ xodRaLGMMyE5//vKS2Hmbd9saln6jEn3qGiPpEk7V7s8dupqyhTmcTeO0EMJ46MGFeeOVY9yWVlOK 5sIRSUu6VFjVOx2zaDKoQcIzXsKhsm/LzpkqVbNsWq0dmTLKOFGVKdOx0MexfeDq26NjNefxjkUDA 2+7zsW2w==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jziPi-0006ej-M1; Sun, 26 Jul 2020 15:18:10 +0000 Date: Sun, 26 Jul 2020 16:18:10 +0100 From: Christoph Hellwig To: Kanchan Joshi Cc: axboe@kernel.dk, viro@zeniv.linux.org.uk, bcrl@kvack.org, willy@infradead.org, hch@infradead.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: <20200726151810.GA25328@infradead.org> References: <1595605762-17010-1-git-send-email-joshi.k@samsung.com> <1595605762-17010-2-git-send-email-joshi.k@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1595605762-17010-2-git-send-email-joshi.k@samsung.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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).