Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1EF72425CC3; Tue, 31 Mar 2026 15:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774971258; cv=none; b=eiAL5WLukYcT0LCkvt5uJ4244RqO5dFnVykPlN3oDZruLqWGqXKiU35OSLGymhvcr9S4ZDz1eR1sXqEkFUchhMsrizweTg4s3DgCYFcdowYeVa5/R7d29+M6LnQTFNY+4SxHFGw0uo2XVFERwPhK1D9W3ADF+DIah1/3Dq0pa/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774971258; c=relaxed/simple; bh=9AZtQ2D6WBBVD7MQVqmIuXHy7u2LqPFID7ZvgYraP7M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gxWwJ47+W3C2bn+qx4zxRgwL1CdpjE6oUvM1jkddDj06CzCQM4XBRU38D2yS9H0vbIvTT2LChlac0MLSriaPOB5qwJGGXcWEeWKSE5vvARVcT/ocKTw46eETDYeK00LVfeKWF3j02DglNPLplP9d4oQHtLYNa2D+yzgZhGdu/Lw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=lst.de; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=OmK6SIeM; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=lst.de 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.b="OmK6SIeM" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=i9lw/q3fT9bt3+jGGatqUjqfwXx3JLiHqioO9c20YTk=; b=OmK6SIeMA0rzZqBDblmrHfYV35 rVAN5Okc31tOAmZ4oqQvC3M9Q0oBlDwSB3mAIrV2laVv1hmxFwDJNbrKMxORAJYdjqA8ZIQBk0kZ9 7Sr/d2V1GYmW4saJI3vaFOO9R+JMjSAvrw8EsF+r3pDkJGNfcXRUMbDx58Eb/ZhbLHG/Klsxm3XVn 8zcUOa3Go1NU1HIv6xiFnaK+GMG6ZtajGsQGVxFYtYDBxx0VoqaiGnXqe1v8ZLgjLzl3g5U7vx56E VBN4+EwHDsDk5ZT/Jz/27iKsOqo5Kt+etsdrfEDINP2ko+653kfRh8qSEtD8N+BSLjXuqA+fjWzHw TdpIP5ZQ==; Received: from [2a02:1210:321a:af00:3fa:89ae:5c22:a910] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1w7b6Y-0000000DBpV-006s; Tue, 31 Mar 2026 15:34:10 +0000 From: Christoph Hellwig To: Chuck Lever , Jeff Layton , Amir Goldstein Cc: NeilBrown , Olga Kornievskaia , Dai Ngo , Tom Talpey , linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: cleanup block-style layouts exports Date: Tue, 31 Mar 2026 17:33:25 +0200 Message-ID: <20260331153406.4049290-1-hch@lst.de> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Hi all, this series cleanups the exportfs support for block-style layouts that provide direct block device access. This is preparation for supporting exportfs of more than a single device per file system. Changes since the multi-device export series: - check for NULL bops in nfsd4_setup_layout_type - clearly document why we are ignoring loca_time_modify Diffstat: MAINTAINERS | 2 fs/nfsd/blocklayout.c | 37 +++++++---------- fs/nfsd/export.c | 3 - fs/nfsd/nfs4layouts.c | 29 +++---------- fs/xfs/xfs_export.c | 4 - fs/xfs/xfs_pnfs.c | 44 ++++++++++++++------ fs/xfs/xfs_pnfs.h | 11 ++--- include/linux/exportfs.h | 25 +++-------- include/linux/exportfs_block.h | 88 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 162 insertions(+), 81 deletions(-)