It's our Chinese New Year today, best wishes to you.
Jay
Matthew Ahrens wrote:
> jay xiong wrote:
>> I have two questions for zfs code:
>>
>> In dbuf_hold_imple():
>> In this piece of code, it will copy the data to the extra buffer if
>> the current one is syncing into disks. My question is tha
jay xiong wrote:
> I have two questions for zfs code:
>
> In dbuf_hold_imple():
> In this piece of code, it will copy the data to the extra buffer if the
> current one is syncing into disks. My question is that why not deferring this
> data copy to dbuf_dirty, where we check the db_data_pending
I have two questions for zfs code:
In dbuf_hold_imple():
/*
* If this buffer is currently syncing out, and we are are
* still referencing it from db_data, we need to make a copy
* of it in case we decide we want to dirty it again in this txg