From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 773D4C433F5 for ; Thu, 19 May 2022 00:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbiESAvt (ORCPT ); Wed, 18 May 2022 20:51:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232329AbiESAvs (ORCPT ); Wed, 18 May 2022 20:51:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62508340E4; Wed, 18 May 2022 17:51:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1BEB4B82280; Thu, 19 May 2022 00:51:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8CF5C385A9; Thu, 19 May 2022 00:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652921504; bh=fwVc+6Xc0iUbXyELkwMo9i9DOVpVDqMPtAxdUfp2NWA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lFCMo8ZCd+I3eZTRU+GEd0Xd9U/0Ru5wqasInnoIq8WylHmP0A6/LLPh817DrOYRL oOBFyv6bcGarFAe+lkspi5dCXb/+cGPUSNTx3Yj0J3KBFRZfD8WjeFgn7I0V1ZoAbm 64MMwc2xPMM0FUf4fxy10+E3fZZIBWgn5KejVRX8OQtg6kic+YHKMs1fPCmjowRnxN OfAsZpFqRwc0IxIOyFTRezvZwihbIhDM6Wi+NRU/5WNJiBztC8+ITGmvtRSkkQC+aW DD9KcX3DpgFhBmIadesAeyi38Ax7ZdXjdV54QZdn1YzPq0gTVxEOkpXZAfPN1j5RQE qqosu7dcq7yjg== Date: Wed, 18 May 2022 18:51:41 -0600 From: Keith Busch To: Eric Biggers Cc: Keith Busch , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, axboe@kernel.dk, Kernel Team , hch@lst.de, bvanassche@acm.org, damien.lemoal@opensource.wdc.com Subject: Re: [PATCHv2 0/3] direct io alignment relax Message-ID: References: <20220518171131.3525293-1-kbusch@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed, May 18, 2022 at 11:26:20PM +0000, Eric Biggers wrote: > On Wed, May 18, 2022 at 10:11:28AM -0700, Keith Busch wrote: > > From: Keith Busch > > > > Including the fs list this time. > > > > I am still working on a better interface to report the dio alignment to > > an application. The most recent suggestion of using statx is proving to > > be less straight forward than I thought, but I don't want to hold this > > series up for that. > > > > Note that I already implemented the statx support and sent it out for review: > https://lore.kernel.org/linux-fsdevel/20220211061158.227688-1-ebiggers@kernel.org/T/#u > However, the patch series only received one comment. I can send it out again if > people have become interested in it again... Thanks, I didn't see that the first time around, but I'll be sure to look at your new version. It sounds like you encountered the same problem I did regarding block device handles: the devtmpfs inodes for the raw block device handles are not the bdev inodes. I do think it's useful the alignment attributes are accessible through the block device files, though.