Hi, I''m currently trying to understand in detail how zfs send and zfs diff work. While reading traverse_visitbp() I noticed that all data is read with dsl_read except for objsets, where dsl_read_nolock is used. Can anybody please shed a little light on why locking can be omitted here? Thanks, Arne
On 12.08.2012 12:31, Arne Jansen wrote:> Hi, > > I''m currently trying to understand in detail how zfs send and zfs diff > work. While reading traverse_visitbp() I noticed that all data is read > with dsl_read except for objsets, where dsl_read_nolock is used. Can > anybody please shed a little light on why locking can be omitted here?... because it''s the top level bp, all others get their parent passed.> > Thanks, > Arne