[illumos-Developer] iSCSI UNMAP with DKIOCFREE

George Wilson gwilson at zfsmail.com
Wed Feb 23 12:03:45 PST 2011


This should be pretty simple (I think):

1). Take a look at zfs_log_truncate(), you'll need a zvol version of this
2). call zil_commit() after line 1660.

I'm happy to help further.

Thanks,
George

On 2/23/11 10:26 AM, Dan McDonald wrote:
> On Wed, Feb 23, 2011 at 09:38:47AM -0800, George Wilson wrote:
>> Dan,
>>
>> The latest changes look good. I've also finished looking at
>> dmu_free_long_range() and as feared we're going to need to log an
>> intention for this in the zil so that we can replay this if a  crash
>> were ever to happen.
> No need to be afraid, I'm just going to need to examine some sample
> commit-to-zil code and apply it to the DKIOCFREE case.
>
> Any clues are, as always, welcome!  :)
>
> Thanks,
> Dan
>
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer




More information about the Developer mailing list