Matthew Ahrens wrote: > Darren J Moffat wrote: >> George Wilson wrote: >>> New code should either update the SPA_VERSION whenever you change the >>> on-disk format and/or the new ZPL_VERSION whenever you change the >>> Posix layer. >> >> That is what I thought but as you say it is currently a little confusing. >> >> Given that I believe that for ZFS Crypto I should only be changing >> SPA_VERSION since adding crypto doesn't change anything to do with ZPL. > > That's correct. Generally, you would need to bump the ZPL_VERSION if a > system running older bits could not correctly interpret a newer > filesystem received by "zfs recv".
That helps as a good "benchmark", particularly since for phase 1 the zfs send stream will be in cleartext not ciphertext. -- Darren J Moffat