From nobody Sat Feb 7 11:38:06 2026 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) (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 DB70439282C for ; Thu, 22 Jan 2026 02:53:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.100 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769050389; cv=none; b=ulj0oE3HEcO0znY6IBwD/YD+2Jia+/CzgTaUgdhShaHADhidFRYsYO+N8jmN4r8+eipKY2C+Ld7G4r1ee+NfuWh6w4gv4XAwhe+pr1JTcRe4CN/x3TpXbe9Ty17zAyaKtzWf/70ke6Fr3z4tL0ws7SxJ+7t76IHQYlWzLGziKKU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769050389; c=relaxed/simple; bh=nySa80rnm16sF3RsVK2BM4tUCY9tQSUJllBWcr7HLkk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qbyR3maPkTUSqbsW5lWiibN2qgreoVg60i9E7R7soGQHagF1LeEaN4ePkNkY/OAygGH91VoYdpGgXzEFOwk2jJK5V4NvNuuBjS8ShQi3vIUypQTintFrGUgfLdb0iBuF64Tq8eTBEkxf/TdgBwhYA7PgRFqEBn/Imd6ePJUsQ+g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=O14NMUST; arc=none smtp.client-ip=115.124.30.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="O14NMUST" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1769050378; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=nt2wSvj2MCM8OfrbOs7JCPwj+aEtEkcOalDVcXuRwsM=; b=O14NMUSTY9Kn/rwyre14OdZpKWHUaQu9ytS8lK6hOjn6VvcjAM0UNDLI3f05v18agdTYqapKxQySU64R+cIZz7kM6sjxA/ILsRT05DPplaxKTpwW3eyw9oMmfjBy772HinEqAyfhviPn+e3xPdESXx/g521xQsHuBiqbLk1HaF4= Received: from x31i01179.sqa.na131.tbsite.net(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0WxagN8a_1769050373 cluster:ay36) by smtp.aliyun-inc.com; Thu, 22 Jan 2026 10:52:57 +0800 From: Gao Xiang To: linux-erofs@lists.ozlabs.org Cc: LKML , oliver.yang@linux.alibaba.com, Gao Xiang , Yuxuan Liu Subject: [PATCH] erofs: add missing documentation about `directio` mount option Date: Thu, 22 Jan 2026 10:52:52 +0800 Message-ID: <20260122025252.3724634-1-hsiangkao@linux.alibaba.com> X-Mailer: git-send-email 2.43.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Document the `directio` mount option for file-backed mounts, because recent users need this and this mount option has been available since commit 6422cde1b0d5 ("erofs: use buffered I/O for file-backed mounts by default") without proper documentation. Reported-by: Yuxuan Liu Signed-off-by: Gao Xiang --- Documentation/filesystems/erofs.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/filesystems/erofs.rst b/Documentation/filesystem= s/erofs.rst index 08194f194b94..96101c3fe53a 100644 --- a/Documentation/filesystems/erofs.rst +++ b/Documentation/filesystems/erofs.rst @@ -125,6 +125,8 @@ dax=3D{always,never} Use direct access (no page cac= he). See Documentation/filesystems/dax.rst. dax A legacy option which is an alias for ``dax=3Dalway= s``. device=3D%s Specify a path to an extra device to be used toge= ther. +directio (For file-backed mounts) Use direct I/O to access b= acking + files, and asynchronous I/O will be enabled if supp= orted. fsid=3D%s Specify a filesystem image ID for Fscache back-en= d. domain_id=3D%s Specify a domain ID in fscache mode so that diffe= rent images with the same blobs under a given domain ID can sha= re storage. --=20 2.43.5