fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Zorro Lang <zlang@kernel.org>
Cc: fstests@vger.kernel.org
Subject: [PATCH 5/5] generic/760: enable sub-block reads
Date: Mon, 31 Aug 2026 09:51:08 +0300	[thread overview]
Message-ID: <20260831065120.2578146-6-hch@lst.de> (raw)
In-Reply-To: <20260831065120.2578146-1-hch@lst.de>

generic/760 currently limits reads to PAGE_SIZE alignments while allowing
smaller writes. Use the new min_dio_alignment -r option to query the minimal
read alignment and only limit the read alignment to that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/generic/760 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/760 b/tests/generic/760
index f270636e56a3..facd83e4af0c 100755
--- a/tests/generic/760
+++ b/tests/generic/760
@@ -16,7 +16,7 @@ _require_odirect
 _require_thp
 _require_hugepage_fsx
 
-psize=`$here/src/feature -s`
+psize=`$here/src/min_dio_alignment -r $TEST_DIR $TEST_DEV`
 bsize=`$here/src/min_dio_alignment $TEST_DIR $TEST_DEV`
 
 _run_hugepage_fsx -N 10000            -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W
-- 
2.53.0


  parent reply	other threads:[~2026-08-31  6:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31  6:51 actually exercise sub-block direct I/O reads Christoph Hellwig
2026-08-31  6:51 ` [PATCH 1/5] statx.h: update to latest kernel UAPI Christoph Hellwig
2026-08-31 17:12   ` Darrick J. Wong
2026-09-02 15:31   ` Zorro Lang
2026-08-31  6:51 ` [PATCH 2/5] min_dio_alignment: add a -r option to query read alignment Christoph Hellwig
2026-08-31 17:16   ` Darrick J. Wong
2026-09-02 16:26   ` Zorro Lang
2026-09-03  5:34     ` Christoph Hellwig
2026-09-03 13:39       ` Zorro Lang
2026-09-14  9:44         ` Zorro Lang
2026-09-14 11:44           ` Christoph Hellwig
2026-09-02 16:31   ` Zorro Lang
2026-08-31  6:51 ` [PATCH 3/5] generic/091: enable sub-block reads Christoph Hellwig
2026-08-31 17:19   ` Darrick J. Wong
2026-09-02 16:46     ` Zorro Lang
2026-09-03  5:34       ` Christoph Hellwig
2026-09-03 13:33         ` Zorro Lang
2026-09-02 16:39   ` Zorro Lang
2026-08-31  6:51 ` [PATCH 4/5] generic/263: " Christoph Hellwig
2026-08-31 17:19   ` Darrick J. Wong
2026-09-02 16:48   ` Zorro Lang
2026-08-31  6:51 ` Christoph Hellwig [this message]
2026-08-31 17:19   ` [PATCH 5/5] generic/760: " Darrick J. Wong
2026-09-02 16:49   ` Zorro Lang
  -- strict thread matches above, loose matches on Subject: below --
2026-09-14 11:45 actually exercise sub-block direct I/O reads v2 Christoph Hellwig
2026-09-14 11:45 ` [PATCH 5/5] generic/760: enable sub-block reads Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260831065120.2578146-6-hch@lst.de \
    --to=hch@lst.de \
    --cc=fstests@vger.kernel.org \
    --cc=zlang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).