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 <mav@FreeBSD.org>
Signed-off-by: Jaydeep Kshirsagar <jkshirsagar@maxlinear.com>
Co-authored-by: Alexander Motin <mav@FreeBSD.org>
Closes #17013
This commit is contained in:
Jaydeep Kshirsagar 2025-02-01 08:15:24 -08:00 committed by GitHub
parent 387ed5ca41
commit 21205f6488
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);