Skip to content

Commit b6cdc85

Browse files
Avoid ARC buffer transfrom operations in prefetch
This change will prevent prefetch to perform unnecessary transform operations on ARC buffer. Signed-off-by: Jaydeep Kshirsagar <[email protected]>
1 parent 12f0baf commit b6cdc85

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)