Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1197397lqm; Thu, 2 May 2024 07:54:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+xQn8IHv3o3lXbRnXvZrID8TOq6G0UJZWRGWicbG6EKovZPwflaHGVsllQZQt8BLJmUMBlXPbBYI1CZB4H3KYIisfy/+p5BNKbWTIoA== X-Google-Smtp-Source: AGHT+IHd+rLA4mcqFZaHge9xFQ4gE0B9tgzcISGe0jnCvP78cNh8Y1TAUiTPB5QAdsFWVY6E+Sso X-Received: by 2002:a05:6808:6194:b0:3c7:3af4:6081 with SMTP id dn20-20020a056808619400b003c73af46081mr60074oib.16.1714661669026; Thu, 02 May 2024 07:54:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714661669; cv=pass; d=google.com; s=arc-20160816; b=aY+G0dt8ml+NYSg7m+K/8ZDCdWCso24llmhPyWhdHA2NbtZzgQC4P7V81Q3OCQ1FFb QE2LbHzS2j0xovkVvxW25I6xha291CVKOe0w5yUR4v7f5bU9qgKe/P0uhWGAcmawo9sP VDN8Wph3CY1kEKrJG3Bn/2J0Kz/9Glor8s0urhC7TJ8i/ijqCAtr6SydGUmfybyj4PyS dpGS4U2VNaJHtK9yq8uNkeLuXAt/z1sB27XJZD0mNYP88HflhG5E3R+dtvEXnCEU0boi nTDFJCTgSWY2Wu+iOddnuzQn/ykHGCUSkhbZSJkyOE/F69wOZBettDM3rkZvRiIq4spV cfuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bpdiTxn4cY7rUmkakPzNGP9RmxQ9dkHRORP+u9bct2g=; fh=/SfuHId0X8AXfIhXaSPIFb8X8yV98RMb+YMQ/1a5SlY=; b=Sa8PY+o88nXA+AYTU6myw+b17E6XhUhh/K4JCWeeQHutZLqQ/JDY4WN3jgTamdRWl1 xlX4hLY/hSgbyj9FkRg3aduUjO0vWTh3bfcxFjN3GkwEbpcCgI8wH9/AeSuOvwIo9+b3 W7z25f/0MKH0HG9Gwg/VjIeVtCQcK88cGpNCL9d7r5uxv52AnuR3W+QlYex+ZX4z2qHP yuaoRJhJRWXecYrUNyxLs3NnHgzW4xQfgd8q1+pAbi6sQbF2qqzykkmjdpH+zgSgCzEr rUXRMcYQbjXHWfbh9D3bMNL2wO2T50mOgC5Xe3bC/XL+DIMDUvWcXlFqgN2+cjeqxg4w 0/Eg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=M7sU3oSX; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-2264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e4-20020a0562141d0400b006a09243a2d6si1180831qvd.478.2024.05.02.07.54.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 07:54:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=M7sU3oSX; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-ext4+bounces-2264-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9A9AD1C2300C for ; Thu, 2 May 2024 14:54:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33DFF153BD1; Thu, 2 May 2024 14:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="M7sU3oSX" X-Original-To: linux-ext4@vger.kernel.org Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 97E76153800 for ; Thu, 2 May 2024 14:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714661661; cv=none; b=LOiWkzCJBco7IN6TeTmh/+KIIGUCRPFGOm2v3ncwPNl8ECCZh/mxFKMxLXiQZjwgSerWl0NL+/XDJ7ssD8FDfFL43EJuC177lzdRKzz35EJMOg8ozs1j48ZU7H4l4GAwxHNDcdYgCd+fR8WG5ri0AkCRJfxLBjPJOOc4RUSFEUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714661661; c=relaxed/simple; bh=OaW31qptMjA9bhBKnFUvOwMMG3sEYZNZJ0eZydOX4dY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KRNiEw92o8dYu9eoINDI5jeOgPfMlocrM/r3VfEsZjb3iS6CRGGaBSky4UTnKW5GMsi3N+XlrKNipqrILi148YtoezVOk/+XaNTiKCIxN3L1kqzXd9No+2A4YInyIV979whrWe/5p+Jyhlwg/HOjjDmf287+kaOr8QCQvpbvHFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=M7sU3oSX; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-108-26-156-33.bstnma.fios.verizon.net [108.26.156.33]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 442Es7cM001670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 May 2024 10:54:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1714661651; bh=bpdiTxn4cY7rUmkakPzNGP9RmxQ9dkHRORP+u9bct2g=; h=From:Subject:Date:Message-ID:MIME-Version:Content-Type; b=M7sU3oSXh2ROzvhJlb177GgRr+7hHhB9dJuDgoIdpQHy12jaKF6uPjD0TXJKyo8zB U4UXka81xfvhJbL/yg7Z+fzMqyxinHU6E101c1KPGo92U6eeSlYRlbfshgj3pNo2mS F+JAzYkxmNDBnj0dTOE0AOAoRbh5OaiMw6qVYiSGZmmOnRzWzmRCjH95xBSCRGaEJY dm2dFQhzEDk38y9OVH6ZCE3HPXEALSOUvrjiRcXj/fYMmILc98lWA2Yf3u9zzzFGGK 9mq/FVq7Wm5tMMejd73+gSyF7Qujc4tXTW4+KpzFtuyeVg8Em7e3THM6l4rXPeIXF3 nhTyHiOWBUqOQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 6093715C02BB; Thu, 2 May 2024 10:54:07 -0400 (EDT) From: "Theodore Ts'o" To: linux-ext4@vger.kernel.org, "Ritesh Harjani (IBM)" Cc: "Theodore Ts'o" , Jan Kara , Christoph Hellwig Subject: Re: [PATCH 1/2] ext4: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method Date: Thu, 2 May 2024 10:54:04 -0400 Message-ID: <171466162130.2959204.6437256169207302775.b4-ty@mit.edu> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 29 Feb 2024 19:54:12 +0530, Ritesh Harjani (IBM) wrote: > Since commit a2ad63daa88b ("VFS: add FMODE_CAN_ODIRECT file flag") file > systems can just set the FMODE_CAN_ODIRECT flag at open time instead of > wiring up a dummy direct_IO method to indicate support for direct I/O. > > Applied, thanks! [1/2] ext4: set FMODE_CAN_ODIRECT instead of a dummy direct_IO method commit: a0c7cce824a54dbb83bb722df19f1ddcfa5f8d25 Best regards, -- Theodore Ts'o