Skip to content

Commit 67f0469

Browse files
JkshirsagarMaxlinearamotin
authored andcommitted
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 <[email protected]> Signed-off-by: Jaydeep Kshirsagar <[email protected]> Co-authored-by: Alexander Motin <[email protected]> Closes #17013
1 parent 1aa4351 commit 67f0469

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

module/zfs/arc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5916,6 +5916,7 @@ arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
59165916
acb->acb_compressed = compressed_read;
59175917
acb->acb_encrypted = encrypted_read;
59185918
acb->acb_noauth = noauth_read;
5919+
acb->acb_nobuf = no_buf;
59195920
acb->acb_zb = *zb;
59205921

59215922
ASSERT3P(hdr->b_l1hdr.b_acb, ==, NULL);

0 commit comments

Comments
 (0)