[OpenZFS Developer] ds_unique_bytes and dd_used_bytes significance with snapshots

2014-02-05 Thread Gaurav Mahajan
Hi, I am trying to understand the space accounting done in dsl_dataset and snapshots. Usually whenever a block is allocate for a dataset we call dsl_dataset_block_born. And when we free the block we call dsl_dataset_block_kill. In both of these function we add the allocated/deletes space to/from

[OpenZFS Developer] zio parent and zio children relation.

2013-12-17 Thread Gaurav Mahajan
Hi all, I am trying to understand relations of root ZIO and children ZIO. This is what I have understood.. Please correct me if I'm wrong. Usually whenever we want to do a series of IO operations like in sync thread. We create a root ZIO with zio_root(). Now this root ZIO becomes parent for

Re: [OpenZFS Developer] zio parent and zio children relation.

2013-12-17 Thread Gaurav Mahajan
Hi George, Thanks for the response..!! On Tue, Dec 17, 2013 at 7:27 PM, George Wilson george.wil...@delphix.comwrote: On 12/17/13 5:21 AM, Gaurav Mahajan wrote: Hi all, I am trying to understand relations of root ZIO and children ZIO. This is what I have understood.. Please correct me

Re: [OpenZFS Developer] [zfs-devel] blk_phys_birth and blk_birth

2013-10-15 Thread Gaurav Mahajan
dedupe disabled and a block with different blk_birth and blk_phys_birth then will this work?. Or it will cause any problem.? Thanks, Gaurav. On Tue, Oct 15, 2013 at 11:36 AM, Matthew Ahrens mahr...@delphix.comwrote: On Mon, Oct 14, 2013 at 10:53 PM, Gaurav Mahajan gaurav...@gmail.comwrote