Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp518309lqp; Fri, 5 Apr 2024 00:03:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsvqjUd5d4ku7nnKJ/KjIw9ZPA3N6CwT5diDzLF2UcPA1BeDwjMqunlXeEt0Lvdw4RLYXDr3B+UCcjcUsn/p0OCBjVS6NNtCEM+MT76w== X-Google-Smtp-Source: AGHT+IEVqvMuXQLjjjDe2jZc2RJBqm/4HX2xbuvZ6rt7Ck8MnOIqg9sQ2s7hGs4EuLmxM/CnWzHt X-Received: by 2002:a05:6870:2203:b0:22e:cf91:7046 with SMTP id i3-20020a056870220300b0022ecf917046mr528458oaf.39.1712300634626; Fri, 05 Apr 2024 00:03:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712300634; cv=pass; d=google.com; s=arc-20160816; b=HCch7mE8JCrBa+ibqkedOKE+WbzRyeKSWPEqiYWbjnFH3PjBIGKYv3meiERqJ6f6xJ Fb4t6vYV6G2SGLSOb8IC4tnxnv1CeTctCpyauYsoJ8JJS0WKZkaRNZoNL2dA/dGjOvvz u/pU6hTeDLoDp75sGRM7J8GXjO2YF5ICAdwQsAXm8KStBvjNb717gen9ulYaYNkvdNNF i8Cp+UVEJkS0zsG2Y7VmBGEqNVoS+BGx0cv1BOqMc6Z1/rgokmV3d/GXoZLqM/7jee/J 3rYDN+J4cJm7LymsRs3YxwEUwevCDmVKxlB2K0z2yUJwTJBVt0K902bYN8My0WP2+YKT e1Cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=WMm62ZvcwTSl6oKBHXjm+H2OHBxwS3d54/j7NaRPptk=; fh=Osth+7n22RdLpZfptjFwFVehEIqkgfqN4nMUx+SE/zo=; b=S9rg7juk2XVHNhQ7h8ZHOpTDWzKny6Lrho0bt5j8/33mTctkP3+WCrwcMe90tY1q5z GWkRRUz+Fnl/OSvYxHY2hL6xfPlZ8WxytWBBDg/s8XCFjW7wuzLWkLuJ3zduz5+f5rKZ mQTHRZ29X4rhxl36b0W9mgT8vnsPAGbNcXkvEbyFRY5n4S7SCLioCo8EIW3jC+rA+8YB D9jAUvAS+id9w0gyljim1TXR+I7+sqWtaHQWb0B4VOi9HLqn4yRgbaDNU9dZxhX+iOTK M4ngmHcTUJ8juY7iiqTN9+arIM4H2AKa2XX0KZYps63nonIfWeG7i/ETgRhx5Z2ZBGb/ s2/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-132517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132517-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wm12-20020a05620a580c00b0078a6cf831a1si1120328qkn.650.2024.04.05.00.03.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:03:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-132517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132517-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 67E351C234FD for ; Fri, 5 Apr 2024 07:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFBDC2C1AE; Fri, 5 Apr 2024 07:03:03 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26AC128DA5; Fri, 5 Apr 2024 07:03:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300583; cv=none; b=pe1WbEtIr8rPSvdjU7hIULOKNZFwwgTFRgn57a2vWXCGSDbTTbxk/F/u9UmGvWEcqeSJ5NuFag4TN1/p88ae3dGfV+VROGHGsw58W8GB56lpSF45jcPcUILvBTsEra9EMwL8eFa7MowZ3vceCLbfNapoGWqo+2/oe9SudIngSr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712300583; c=relaxed/simple; bh=Pe1ZdIJ1Ge7p/hJMEcIDLelR1kOBCzsOlZoeXMsQ8Ik=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RQuxWMIBUKzxOJBXSSvOkvJ6HQkuaHmG9cC5aVbUiHsRZzhetkf+HoFqfxIoXoVEIuMVmthHAYX2VNVu23i7Xhw8X5lMhrGMVVrMV4JqlQ56CFvb3gD728jif7jxkVPQb1FLjt1ImhGnsiO3LV3+vwNRtPbR8hagd7Z2Pwp9Po0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 162F868D07; Fri, 5 Apr 2024 09:02:59 +0200 (CEST) Date: Fri, 5 Apr 2024 09:02:58 +0200 From: Christoph Hellwig To: Eric Blake Cc: Christoph Hellwig , Stefan Hajnoczi , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Alasdair Kergon , Mikulas Patocka , dm-devel@lists.linux.dev, David Teigland , Mike Snitzer , Jens Axboe , Joe Thornber Subject: Re: [RFC 0/9] block: add llseek(SEEK_HOLE/SEEK_DATA) support Message-ID: <20240405070258.GC4176@lst.de> References: <20240328203910.2370087-1-stefanha@redhat.com> <20240402122617.GA30720@lst.de> <6yjbfcrsmdmibrfs2pcseehrcbjkn67qzanyhlrduocguqvoaq@jjwntpqtsmpc> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6yjbfcrsmdmibrfs2pcseehrcbjkn67qzanyhlrduocguqvoaq@jjwntpqtsmpc> User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Apr 02, 2024 at 08:31:09AM -0500, Eric Blake wrote: > As well as my question on whether the community would be open to > introducing new SEEK_* constants to allow orthogonality between > searching for zeroes (known to read as zero, whether or not it was > allocated) vs. sparseness (known to be unallocated, whether or not it > reads as zero), where the existing SEEK_HOLE seeks for both properties > at once. That seems like quite an effort. Is is worth it?