Ramzec commented on this pull request.
> @@ -1549,6 +1549,8 @@ arc_cksum_is_equal(arc_buf_hdr_t *hdr, zio_t *zio)
void *cbuf = zio_buf_alloc(HDR_GET_PSIZE(hdr));
csize = zio_compress_data(compress, zio->io_abd, cbuf, lsize);
+ abd_t *cdata = abd_get_from_buf(cbuf, HDR_GET_PSIZE(hdr));
+ abd_take_ownership_of_buf(cdata, B_TRUE);
make sense. will do.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/498#discussion_r158137410
------------------------------------------
openzfs-developer
Archives:
https://openzfs.topicbox.com/groups/developer/discussions/Te84e226aa4103950-M23085219e1392395d1ca380c
Powered by Topicbox: https://topicbox.com