2013/6/24, Christoph Hellwig <hch@xxxxxxxxxxxxx>: > On Mon, Jun 24, 2013 at 12:44:59PM +1000, Dave Chinner wrote: >> various DVR companies shipping equivalent ioctl-based functionality >> for XFS filesystems to both insert and remove chunks in video >> streams, but I've never been able to find the code for it anywhere. > Hi. Christoph. > Samsung does this, also for UDF. Namjae, could you please submit these > two as well, including a proper VFS interface? Yes, Sure. Intially, we also thought of adding a new flag to fallocate instead of ioctls. But as Ted rightly pointed, fallocate works on byte granularity and we have block aligned restrictions, so once we decided to go for ioctls and hear other people opninons. Currently, we can try implementing dave's suggesstion of introducing a new flag FALLOC_FL_COLLAPSE_RANGE for falloctae instead of individual ioctls for both XFS and EXT4. Thanks. > > -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html