Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2018 00:13:33 +0700
From:      Eugene Grosbein <eugen@freebsd.org>
To:        John Nielsen <lists@jnielsen.net>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r341232 - in head/usr.bin: . trim
Message-ID:  <39f2c6b4-1d84-1324-217d-12dd5c2573b8@freebsd.org>
In-Reply-To: <9812F670-DD3D-4A56-A826-28B4A055F488@jnielsen.net>
References:  <201811291421.wATELQbx059318@repo.freebsd.org> <9812F670-DD3D-4A56-A826-28B4A055F488@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
29.11.2018 23:45, John Nielsen wrote:

> I’m curious, would this also be useful for virtual disks or SAN/NAS devices backed by thinly-provisioned storage?

It won't work for for files residing on UFS/ZFS, if you mean that.

And you can verify that easily: just make extra file and try to trim it
to see "Inappropriate ioctl for device" error.

It might work for iSCSI attached devices, I'm not sure.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39f2c6b4-1d84-1324-217d-12dd5c2573b8>