[zfs-code] Questions about ZIO subsystem (and some others)

2007-12-18 Thread Stephen Oberholtzer
I apologize if this is the wrong place to ask this. I looked at the archives for both zfs-code and zfs-discuss, and this seemed like the more appropriate list to post my query. I recently read about ZFS and it seems to be a very cool thing. I've been reading various webpages and looking through

[zfs-code] Questions about ZIO subsystem (and some others)

2007-12-18 Thread Jeff Bonwick
> 1. zio.c has functions like "zio_rewrite" and > "zio_rewrite_gang_members". ZFS is copy-on-write, so it should never > be rewriting anything, right? Also, zio_write_compress makes a > cryptic reference to spa_sync. Right. The only time we rewrite an existing block is when the block was allo