mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
ZLE compression: don't use BPE_PAYLOAD_SIZE
ZLE compressor needs additional bytes to process d_len argument efficiently. Don't use BPE_PAYLOAD_SIZE as d_len with it before we rework zle compressor somehow. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: George Melikov <mail@gmelikov.ru> Closes #9416
This commit is contained in:
committed by
Brian Behlendorf
parent
522f2629c8
commit
b32d48a625
+2
-2
@@ -604,8 +604,8 @@ extern int zio_alloc_zil(spa_t *spa, objset_t *os, uint64_t txg,
|
||||
extern void zio_flush(zio_t *zio, vdev_t *vd);
|
||||
extern void zio_shrink(zio_t *zio, uint64_t size);
|
||||
|
||||
extern size_t zio_get_compression_max_size(uint64_t gcd_alloc,
|
||||
uint64_t min_alloc, size_t s_len);
|
||||
extern size_t zio_get_compression_max_size(enum zio_compress compress,
|
||||
uint64_t gcd_alloc, uint64_t min_alloc, size_t s_len);
|
||||
extern int zio_wait(zio_t *zio);
|
||||
extern void zio_nowait(zio_t *zio);
|
||||
extern void zio_execute(void *zio);
|
||||
|
||||
Reference in New Issue
Block a user