On Tue, 17 Apr 2012 17:36:32 +1000 ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > On Tue, Apr 17, 2012 at 1:55 PM, FUJITA Tomonori > <fujita.tomonori@xxxxxxxxxxxxx> wrote: >> On Sun, 15 Apr 2012 13:48:12 +1000 >> ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: >> >>> From e58b5bf485c3eee24e04970b05aaba4472d0fa35 Mon Sep 17 00:00:00 2001 >>> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> >>> Date: Sun, 15 Apr 2012 12:07:32 +1000 >>> Subject: [PATCH 1/2] SBC UNMAP: Add support for thin-provisioning and the UNMAP command. >>> >>> The UNMAP command is implemented using FALLOC_FL_PUNCH_HOLE and will >>> release UNMAPPED blocks back to the underlying filesystem. >>> >>> FALLOC_FL_PUNCH_HOLE is fairly new addition to Linux but works on >>> ext4 and XFS filesystems currently. >>> >>> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> >>> --- >>> doc/tgtadm.8.xml | 25 ++++++++++++++++++ >>> usr/bs_rdwr.c | 54 ++++++++++++++++++++++++++++++++++++++ >>> usr/sbc.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++- >>> usr/scsi.h | 1 + >>> usr/spc.c | 43 ++++++++++++++++++++++++++++--- >>> usr/target.c | 2 + >>> usr/tgtd.h | 2 + >>> 7 files changed, 197 insertions(+), 5 deletions(-) Thanks for the pointers. I've applied this. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html