Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2015 10:19:10 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Steven Hartland <killing@multiplay.co.uk>,  freebsd-stable@freebsd.org
Subject:   Re: Bug 204641 - 10.2 UNMAP/TRIM not available on a zfs zpool that uses iSCSI disks, backed on a zpool file target
Message-ID:  <564C347E.3030705@FreeBSD.org>
In-Reply-To: <564BC646.5070708@multiplay.co.uk>
References:  <CAB2_NwCtAAKG13ZqY2L1FDyBbfPYscUAGXBWnTLu_oQMM-daYw@mail.gmail.com> <564BC646.5070708@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18.11.2015 02:28, Steven Hartland wrote:
> On 17/11/2015 22:08, Christopher Forgeron wrote:
>> I just submitted this as a bug:
>>
>> ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204641 )
>>
>> ..but I thought I should bring it to the list's attention for more
>> exposure
>> - If that's a no-no, let me know, as I have a few others that are related
>> to this that I'd like to discuss.

> Having a quick flick through the code it looks like umap is now only
> supported on dev backed and not file backed.
> 
> I believe the following commit is the cause:
> https://svnweb.freebsd.org/base?view=revision&revision=279005
> 
> This was an MFC of:
> https://svnweb.freebsd.org/base?view=revision&revision=278672
> 
> I'm guessing this was an unintentional side effect mav?

As I have replied on the ticket: CTL never supported UNMAP on
file-backed LUNs due to lack of respective API for hole punching on
FreeBSD. At this time UNMAP works for ZVOLs in both device and file
modes and raw devices.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564C347E.3030705>