Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380659; b=fpSsbals7hd3YaYh59Rgt7xfjzJIiQEwKwke1ZYfg5r+h7EqfParwkXYqSpFU0boZE29 l+qQCeM/XUpjiJ3ICIEeEDkw8HNWVLHWKGGL6Z+8Rw1PN5yv4b/oz8ol3P6cUSkykh/eV 7KstpSZG+7ZZ87EAHq5fT3fqpYjIummjDggbadkNgpjSSE5tsn7CHICrJLUU6i1OA6De/ +kW00tHAgFxcf/mDDAysMxawn/Fs9MpXGa5SDLVX6fARhcPbtcjhE6yxoA74JqDuFTKJK UCmcE3+72N7z0uA7U7fu86NoDsBzj4p5Mr5luJLGzOW4i5nRTbvD07a1LW+AzTcL5cA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380659; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=L9jMNuJR//SeHi7+jpCn3mfWgVMdaG2OQbW7Rw6SSJY=; b=kxIg/80EWdiiI/GsFnwsXi2yPMVClgY0Xd88fvbZ4aPJXSWwx41yXRqb7APEGg+TizlD LJt5fxRUsfGqi1DOZvrqEGPZzOfWWiKzH2/qenhkYFk+bJKLSZwa96XTC9CCXz6hM8lHH lhNCmBTWzFQA99viDGA/yFjW5WbrmY9tLlzQfxmFR7lNcgGuh2fEt6GdzzAga7bI3P/H8 zwrolx06aCCCNInXrJOrD3MZB8Cx21FHKqrN+9wedkNNc7/+MhBmBRYDElY/oQWk0A1mY Thg+kI3jmIP/ly6EPEd0yPhvXQOK0FLzC15E103fOjV3P5SLCTxPUQb7x6MQ3xpnAdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gVqsH0Qk; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64532606A33F; Fri, 4 Dec 2026 10:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gVqsH0Qk Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77FA91F000CE; Fri, 4 Dec 2026 10:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796380659; bh=L9jMNuJR//SeHi7+jpCn3mfWgVMdaG2OQbW7Rw6SSJY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gVqsH0QkLaTVPC0A+2NxqMg8VWzUR6G9x0doKcnylxnadEucUPE2I6nxxUvOif0dz YJrIXExG8n37G3J4OB0B8Iywi+3vjePGR76lpqi++SUAdNzl7YEpl+sL//ugSvgWJm UQL6AZSrj97Fg0UKs1b7kXv7wsb3RNyumms0QExzqHeMusRWQ22bTF2HZvl8DsyIy1 AJ7Jxybuv4U5xee+cLpPpJj71s6PIV+6RoZnDcd3p/qJ3cUsOaxLaWoE/9hQuDfqpb ohcdlMD7M7MX1L3KvO3OkSdtT3xuvbZ3cYw3bUo+ZmiXt3UqxZij5xebQu8qTZOZB1 ifUeQQgLC2Lgg== Date: Fri, 4 Dec 2026 11:37:34 +0100 From: Carlos Maiolino To: Christoph Hellwig Cc: Christian Brauner , Theodore Ts'o , Fengnan Chang , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 1/2] iomap: don't call sb_init_dio_done_wq from the simple dio read path Message-ID: References: <20261204091101.2533591-1-hch@lst.de> <20261204091101.2533591-2-hch@lst.de> X-Mailing-List: linux-ext4@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: <20261204091101.2533591-2-hch@lst.de> On Fri, Dec 04, 2026 at 10:10:55AM +0100, Christoph Hellwig wrote: > Since commit bcb0d867a601 ("iomap: use bio_complete_in_task for > buffered simple dio read failures"), the simple read path doesn't > ever use the per-sb dio aio workqueue, so don't initialize it. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Fengnan Chang > --- > fs/iomap/direct-io.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c > index f00b0841fdd0..0d6ce1a30b2c 100644 > --- a/fs/iomap/direct-io.c > +++ b/fs/iomap/direct-io.c > @@ -1001,13 +1001,6 @@ ssize_t __iomap_dio_read_simple(struct kiocb *iocb, struct iov_iter *iter, > goto out_dio_end; > } > > - if (unlikely(!iomi->inode->i_sb->s_dio_done_wq && > - !is_sync_kiocb(iocb))) { > - ret = sb_init_dio_done_wq(iomi->inode->i_sb); > - if (ret < 0) > - goto out_dio_end; > - } > - Reviewed-by: Carlos Maiolino > trace_iomap_dio_rw_begin(iocb, iter, 0, 0); > > bio = bio_alloc_bioset(iomi->iomap.bdev, > -- > 2.53.0 >