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 transform
operations on ARC buffer.

Signed-off-by: Jaydeep Kshirsagar <[email protected]>
  • Loading branch information
JkshirsagarMaxlinear committed Jan 31, 2025
1 parent 387ed5c commit d3bafb1
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 d3bafb1

Please sign in to comment.