[illumos-Developer] iSCSI UNMAP with DKIOCFREE

Dan McDonald danmcd at nexenta.com
Wed Feb 23 13:59:55 PST 2011


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



More information about the Developer mailing list