From 21205f6488ade598427cc525b349be75a69d69bd Mon Sep 17 00:00:00 2001 From: Jaydeep Kshirsagar Date: Sat, 1 Feb 2025 08:15:24 -0800 Subject: [PATCH] Avoid ARC buffer transfrom operations in prefetch This change will prevent prefetch to perform unnecessary ARC buffer fill when reading from disk. Reviewed-by: Alexander Motin Signed-off-by: Jaydeep Kshirsagar Co-authored-by: Alexander Motin Closes #17013 --- module/zfs/arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index bd6f076df..1f653d953 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -6031,6 +6031,7 @@ top: acb->acb_compressed = compressed_read; acb->acb_encrypted = encrypted_read; acb->acb_noauth = noauth_read; + acb->acb_nobuf = no_buf; acb->acb_zb = *zb; ASSERT3P(hdr->b_l1hdr.b_acb, ==, NULL);