From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org ([80.91.229.3]:44296 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254Ab3BZGiM (ORCPT ); Tue, 26 Feb 2013 01:38:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAEBJ-0000yb-I7 for linux-btrfs@vger.kernel.org; Tue, 26 Feb 2013 07:38:29 +0100 Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Feb 2013 07:38:29 +0100 Received: from eternaleye by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Feb 2013 07:38:29 +0100 To: linux-btrfs@vger.kernel.org From: Alex Elsayed Subject: Re: lvm volume like support Date: Mon, 25 Feb 2013 22:37:53 -0800 Message-ID: References: <20130226115704.50102196@natsu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-btrfs-owner@vger.kernel.org List-ID: Remco Hosman - Yerf IT wrote: > would be really cool if a TRIM to the loopback device would do a 'hole > punch' on the file There are patches on the scsi target mailing list to make this happen for the FILEIO backend. This has the added benefit that if you set it up via LIO, it appears as a full SCSI device, and can be exported via iSCSI, firewire, FC, USB, etc as well as being visible as a local disk.