Skip to content

Commit f270858

Browse files
Adding changes to avoid unnecessary transform operations in prefetch algorithm
This change is needed as extra transform operations are getting performed on data read from Disk to L1ARC through prefetch algoirhtm. These operations are not required when ARC is in compressed state and data is read with ZIO through prefetch algorithm. Signed-off-by: Jaydeep Kshirsagar <[email protected]>
1 parent 12f0baf commit f270858

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)