Is data cached or not in the following case:

$ zfs create -o primarycache=all tank/foo
$ zfs snapshot tank/foo at s1
$ zfs clone tank/foo at s1 tank/bar
$ zfs set primarycache=none tank/bar
# zpool export tank && zpool import tank

Now read from tank/bar the data which is shared with tank/foo, does that 
get cached ? I'm assuming not because of the primarycache option for 
tank/bar.  But if we read it via tank/foo it would be cached, right ?

--
Darren J Moffat

Reply via email to