From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre DERUMIER Subject: Re: block device type supporting trim or scsi unmap ? Date: Thu, 10 May 2012 14:28:25 +0200 (CEST) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: ronnie sahlberg Return-path: Received: from mailpro.odiso.net ([89.248.209.98]:47799 "EHLO mailpro.odiso.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755267Ab2EJM2q convert rfc822-to-8bit (ORCPT ); Thu, 10 May 2012 08:28:46 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: >>iscsi supports it too but it requires that your iscsi target supports= =20 >>these opcodes, and that the filesystem/storage behind it supports it=20 >>too.=20 >>TGTD with EXT4 and a suitable storage device should do the trick.=20 I'm using a iscsi solaris target, with scsi UNMAP support.=20 Drives also support scsi unmap in raid (ocz talos hdd). I'm using direct lun access from host to guest. But my question was, which block device inside guests have trim or scsi= unmap implemention ? ----- Mail original -----=20 De: "ronnie sahlberg" =20 =C3=80: "Alexandre DERUMIER" =20 Cc: kvm@vger.kernel.org=20 Envoy=C3=A9: Jeudi 10 Mai 2012 12:27:05=20 Objet: Re: block device type supporting trim or scsi unmap ?=20 On Thu, May 10, 2012 at 8:19 PM, Alexandre DERUMIER wrote:=20 > Hi,=20 > I'm looking to implement a san storage with ssd drive.=20 >=20 > which block device type support trim or scsi unmap ?=20 >=20 > I think ide support it (but performance...)=20 >=20 > scsi ?=20 > virtio ?=20 > virtio-scsi ?=20 iscsi supports it too but it requires that your iscsi target supports=20 these opcodes, and that the filesystem/storage behind it supports it=20 too.=20 TGTD with EXT4 and a suitable storage device should do the trick.=20 >=20 >=20 > Regards,=20 >=20 > Alexandre Derumier=20 >=20 > --=20 > To unsubscribe from this list: send the line "unsubscribe kvm" in=20 > the body of a message to majordomo@vger.kernel.org=20 > More majordomo info at http://vger.kernel.org/majordomo-info.html=20 --=20 --=20 Alexandre D erumier=20 Ing=C3=A9nieur Syst=C3=A8me=20 =46ixe : 03 20 68 88 90=20 =46ax : 03 20 68 90 81=20 45 Bvd du G=C3=A9n=C3=A9ral Leclerc 59100 Roubaix - France=20 12 rue Marivaux 75002 Paris - France=20 =09