OpenSolaris

Printable Version Enter a New Search
Bug ID 6713916
Synopsis scrub/resilver needlessly decompress data
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords zfs-crytpto | zfs-perf
Responsible Engineer Jeff Bonwick
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105) , solaris_10u8(s10u8_01) (Bug ID:2176254)
Related Bugs
Submit Date 12-June-2008
Last Update Date 17-December-2008
Description
scrub and resilver zios needlessly decompress data when they don't need to (the will need to decompress some
metadata to do the traverse).

If zio->io_flags has ZIO_FLAG_SCRUB or ZIO_FLAG_RESILVER set we should be able to skip adding decompression
to the pipeline.  That trivial fix however doesn't work and causes an ASSERT to trip due to the io size.  So we need to be a little more cunning that than and work out wither we need to do the decompress based on the object type.
Work Around
N/A
Comments
N/A