Skip to content

Commit

Permalink
Avoid ARC buffer transfrom operations in prefetch
Browse files Browse the repository at this point in the history
This change will prevent prefetch to perform unnecessary ARC buffer
fill when reading from disk.

Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Jaydeep Kshirsagar <[email protected]>
Co-authored-by: Alexander Motin <[email protected]>
Closes #17013
  • Loading branch information
JkshirsagarMaxlinear authored Feb 1, 2025
1 parent 387ed5c commit 21205f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/zfs/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6031,6 +6031,7 @@ arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
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);
Expand Down

0 comments on commit 21205f6

Please sign in to comment.