[zfs-code] dsl_dataset_t pointer during 'zfs create' changes

2008-03-27 Thread Darren J Moffat
Chris Kirby wrote: > Ah, OK, I didn't catch the distinction between the keys. > > So is it possible for a snapshot to have a different unwrapping key > than the head dataset? I would think not, since the blocks in a snapshot > were created as part of the head ds. A snapshot always has the same u

[zfs-code] dsl_dataset_t pointer during 'zfs create' changes

2008-03-27 Thread Darren J Moffat
Chris Kirby wrote: > Darren J Moffat wrote: >> I've noticed that the dsl_dataset_t that points to a given dataset >> changes during the life time of a 'zfs create' command. We start out >> with one dsl_dataset_t* during dmu_objset_create_sync() but by the >> time we are later mounting the datas

[zfs-code] dsl_dataset_t pointer during 'zfs create' changes

2008-03-27 Thread Darren J Moffat
I've noticed that the dsl_dataset_t that points to a given dataset changes during the life time of a 'zfs create' command. We start out with one dsl_dataset_t* during dmu_objset_create_sync() but by the time we are later mounting the dataset we have a different in memory dsl_dataset_t* referri

[zfs-code] dsl_dataset_t pointer during 'zfs create' changes

2008-03-27 Thread Chris Kirby
Darren J Moffat wrote: > Chris Kirby wrote: >> Darren J Moffat wrote: >>> I've noticed that the dsl_dataset_t that points to a given dataset >>> changes during the life time of a 'zfs create' command. We start out >>> with one dsl_dataset_t* during dmu_objset_create_sync() but by the >>> time w

[zfs-code] dsl_dataset_t pointer during 'zfs create' changes

2008-03-27 Thread Chris Kirby
Darren J Moffat wrote: > I've noticed that the dsl_dataset_t that points to a given dataset > changes during the life time of a 'zfs create' command. We start out > with one dsl_dataset_t* during dmu_objset_create_sync() but by the time > we are later mounting the dataset we have a different in