Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Allan Jude <allanjude@freebsd.org>
Closes #10694
This commit is contained in:
Allan Jude 2020-08-11 16:16:57 -04:00 committed by GitHub
parent ed726fb063
commit 9777044f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8900,7 +8900,7 @@ l2arc_write_buffers(spa_t *spa, l2arc_dev_t *dev, uint64_t target_sz)
/* /*
* If this header has b_rabd, we can use this since it * If this header has b_rabd, we can use this since it
* must always match the data exactly as it exists on * must always match the data exactly as it exists on
* disk. Otherwise, the L2ARC can normally use the * disk. Otherwise, the L2ARC can normally use the
* hdr's data, but if we're sharing data between the * hdr's data, but if we're sharing data between the
* hdr and one of its bufs, L2ARC needs its own copy of * hdr and one of its bufs, L2ARC needs its own copy of
* the data so that the ZIO below can't race with the * the data so that the ZIO below can't race with the