Skip to content

Commit ad45920

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 openzfs#17013
1 parent 5df5624 commit ad45920

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
@@ -6031,6 +6031,7 @@ arc_read(zio_t *pio, spa_t *spa, const blkptr_t *bp,
60316031
acb->acb_compressed = compressed_read;
60326032
acb->acb_encrypted = encrypted_read;
60336033
acb->acb_noauth = noauth_read;
6034+
acb->acb_nobuf = no_buf;
60346035
acb->acb_zb = *zb;
60356036

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

0 commit comments

Comments
 (0)