You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does ZIO_REWRITE_PIPELINE have ZIO_STAGE_WRITE_COMPRESS and ZIO_STAGE_WRITE_BP_INIT stages?
Looking at zio_write_compress and zio_write_bp_init functions which implement the corresponding stages, they seem to just do nothing for non-allocating zio-s. Where IO_IS_ALLOCATING checks for presence of ZIO_STAGE_DVA_ALLOCATE stage which ZIO_REWRITE_PIPELINE doesn't include.
It doesn't look like ZIO_STAGE_DVA_ALLOCATE could be mixed in later.
So what's the point?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Why does
ZIO_REWRITE_PIPELINE
haveZIO_STAGE_WRITE_COMPRESS
andZIO_STAGE_WRITE_BP_INIT
stages?Looking at
zio_write_compress
andzio_write_bp_init
functions which implement the corresponding stages, they seem to just do nothing for non-allocating zio-s. WhereIO_IS_ALLOCATING
checks for presence ofZIO_STAGE_DVA_ALLOCATE
stage whichZIO_REWRITE_PIPELINE
doesn't include.It doesn't look like
ZIO_STAGE_DVA_ALLOCATE
could be mixed in later.So what's the point?
Beta Was this translation helpful? Give feedback.
All reactions