Displaying 2 results from an estimated 2 matches for "dsl_dataset_open_obj".
2007 Nov 24
19
R/W lock portability issue
Hi,
I am having a problem porting Solaris R/W lock functionality to Linux.
The problem is that RW_LOCK_HELD() doesn''t have an equivalent function
in pthreads.
This was not a problem before because RW_LOCK_HELD() was only used in
ASSERT statements. In this case, I was able to make it work by making it
behave a bit differently (specifically, it would return true if *any*
thread was
2008 Mar 27
4
dsl_dataset_t pointer during ''zfs create'' changes
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* referring to the same dataset.
This causes me a big issue with per dataset