From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796029471; b=T+F1Sw8/8Yz/Zr0WmYmfeS+fxFK4abRn0VYsAO2iYeNW8bTsuUjpy6TeXEqOSrP+RuiN Gf0IYH8wJVscmKy/AgI9vqCpjLDPtg98eVSh3nlKyVsUeHoBfLHlb/y4wGx32MGYQeNA9 8bovJuqcw3Pfr9JOP2PmRNiWzWe8Pq+q+oMrNvXfuas4Qa0jgJVJWRuYdRiVJh57NpRXO Zts/63Z9I4re3A+6HAyBsAbECLusJ2/7s+S3jbTzCEkv6mAlO6KfUJ1EbZXSzRE8FWKUO 8q0uViA0rIetO6uZttn/35jVb7NjKngwhIHkoGq21AY3kAVxgEpcBmWWcEiWqymNbuQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796029471; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:X-SRS-Rewrite; bh=bUuEaVccbWs+QsV2RiB31fy6+PhblXI5JusO8ffLMDA=; b=HaDGfOcQ0Lti4ERIlj/65xnPxH+YvkIsUFrFnkeS5moZFG3/rhVXkRZ8GCEO+GwQSPqo SV83JhO4joLJwvoBoTc73W51Nnehfh8tKm+pfy8dO2RJaM82WCFYMhN7U8JuepiR96plN JZh7uSWZ5hAhZoFNtIsTdxEHGeoM28l8mMzvPhin2sjad0aPK78N3wTDLg/jVZkQOmR3d eH6Tfsp41jaDHZGbfYnG4tW8dMuD02vVFZGTUVkuJdu9T2x2KAX70laKmpLXY9MGXyCX6 zoFCJCNWqLzRJOHLrcZKMInnXRr9kpg0eAbDEB6iy678/gwrFTyswCs6iEsOI8IxVZw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=I+aStKjX; arc=none smtp.remote-ip=198.137.202.133 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FD32606A333; Mon, 30 Nov 2026 09:04:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6FD32606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=I+aStKjX DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=bUuEaVccbWs+QsV2RiB31fy6+PhblXI5JusO8ffLMDA=; b=I+aStKjXGKzlAqqNRbUFlmXxzr N8n9IKti7u1jTmfh5wJLTaIajXK7mDTfFwJNpv7v+xw/8gBVjJ9sVUAH+UwmxCt5ceibJ+EniXJ72 qhzeA6iWvHO/tPQxJswlIXUtanc1L8EOHIjxhfZi1oJTLKy9J1RvjrvAB+bGWze+8O40XXQFJMHU6 DYZP9yHzyAS59QgOeFxWzrlFfn+P9t8hwshMGpFhkRU1FFZX/ep3Q8jwE32ucugxqHFJhjH5XaRSR NHiHBD5Wxd+R1TycATfGfgNr/tmf04/hyyiRSTrvFdJuSRoBKEsRnINnQpuJ9YSBS3HShkfgn5Kqq +b6FSApw==; Received: from hch by bombadil.infradead.org with local (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXxJE-00000003tNy-2xFU; Mon, 30 Nov 2026 09:04:28 +0000 Date: Mon, 30 Nov 2026 01:04:28 -0800 From: Christoph Hellwig To: "Martin K. Petersen" Cc: Christoph Hellwig , Keith Busch , Zakaria Belkadi , Caleb Sander Mateos , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Kanchan Joshi , Anuj Gupta , florence.schadle@ssi.gouv.fr, frederic.tronel@centralesupelec.fr, louis.rilling@irisa.fr, stable@vger.kernel.org Subject: Re: [PATCH RESEND] block: pin user PI pages for writing when ref tags are remapped Message-ID: References: <20261120162257.498238-1-zakaria.belkadi@inria.fr> X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Fri, Nov 20, 2026 at 10:14:21PM -0500, Martin K. Petersen wrote: > > Christoph, > > > We could fine tune based on if we need remapping due to partitions, if > > we limited remapping to partitions, but I think Martin last time > > voiced an opinion that remapping could also be used to pass in > > arbitrary tags (which always felt a bit odd to me). > > The application has no way of knowing what the first ref tag should be > except in cases where it is writing directly to a single block device. Which is the only user interface that we have ever supported. > Once the storage configuration involves multiple devices, or when > writing to a file, the concept of the user-visible ref tag being > LBA-based goes out the window. All the application knows is that it is > writing to block N of a given file. The it is the file systems job to map it properly.