[illumos-Developer] iSCSI UNMAP with DKIOCFREE
George Wilson
gwilson at zfsmail.com
Wed Feb 23 15:23:23 PST 2011
You also need to write zvol_replay_truncate() (see zvol_replay_write).
- George
On 2/23/11 1:59 PM, Dan McDonald wrote:
> On Wed, Feb 23, 2011 at 12:12:18PM -0800, George Wilson wrote:
>> On 2/23/11 11:59 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.
>>> So I see two possibilities after an initial exploration:
>>>
>>> 1.) Have DKIOCFREE code do a distinct ZIL intention. I see two possible
>>> places...
> <SNIP!>
>
>> I think the above is the cleanest way.
> I've changes that compile and lint, but I won't be testing them until after
> dinner. These are subject to smoke-test results, but here they are:
>
> http://www.kebe.com/~danmcd/webrevs/unmap/
>
> and keep focussed on zvol.c.
>
> Thanks!
> Dan
>
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer
More information about the Developer
mailing list