From mboxrd@z Thu Jan 1 00:00:00 1970 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 74E181E9B09; Thu, 20 Mar 2025 16:38:11 +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=1742488693; cv=none; b=iIQIEIhU8GGGr1UEft2ueAphEuXG1bJ7uWjlbtAgd6lrL9Z8JYDUkF4xtdUyPBPF+8BI9dp8mooUsBdfT0g21ZvBJ876nnMp1svt/J3NFRVfmsPyd53s7zoVZqXlwysMBwVYITPERUDVp7tjR5MxwYe6pOS4u2xwmKtQL99aiG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742488693; c=relaxed/simple; bh=mDCrbJnamOC18bRvR4z1gGCqfQ1to/utJ7eWaIJSBrM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kuweCxCiAy5Gy08giRs8z9MamfvCWvxrQsmo+vkoxJ2BAUNswPiUk2incQOxWLPNAgvVgp84euXTlD72s0aGSf4ckfXxZUUBQ6xnkk/1VH/+liLA+ziTwgUUS4R8D4a7lYmoiXT2BrLfStSxyiAOdqkUe5+2zbDQRNaovVg0eyM= 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 2E0EA68AA6; Thu, 20 Mar 2025 17:38:05 +0100 (CET) Date: Thu, 20 Mar 2025 17:38:04 +0100 From: Christoph Hellwig To: Keith Busch Cc: Bart Van Assche , Christoph Hellwig , Luis Chamberlain , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org, lsf-pc@lists.linux-foundation.org, david@fromorbit.com, leon@kernel.org, sagi@grimberg.me, axboe@kernel.dk, joro@8bytes.org, brauner@kernel.org, hare@suse.de, willy@infradead.org, djwong@kernel.org, john.g.garry@oracle.com, ritesh.list@gmail.com, p.raghav@samsung.com, gost.dev@samsung.com, da.gomez@samsung.com Subject: Re: [LSF/MM/BPF TOPIC] breaking the 512 KiB IO boundary on x86_64 Message-ID: <20250320163804.GA21242@lst.de> References: <20250320141846.GA11512@lst.de> Precedence: bulk X-Mailing-List: linux-fsdevel@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: User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Mar 20, 2025 at 09:58:47AM -0600, Keith Busch wrote: > I allocate out of hugetlbfs to reliably send direct IO at this size > because the nvme driver's segment count is limited to 128. It also works pretty well for buffered I/O for file systems supporting larger folios. I can trivially create 1MB folios in the page cache on XFS and then do I/O on them.