On Sun, 15 Apr 2012 07:15:10 +1000 ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > Fair enough. xfs and ext4 handle it so I tend to blame btrfs. I need to investigate the issue more though. > Please find attached an update to the UNMAP patch that only tries to > punch a hole for the hole region > and ignores the underlying block boundaries. > It will rely on the underlying filesystem to zero out any unaligned regions. Can we use scsi_lu->dev instead of doing fstat every time? > You still need the "TGTIMG patch to be applied first. I've applied the first. Thanks. > After this patch, I also have patches to add WRITE_SAME10/16 that can > also be used to punch holes in LUNs. Sounds great. -- 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