Assuming we have huge file F.we like to put around seek s a new empty (filled with zeros) block in O(1) time (i.e. without rewriting all remining part)around means we can round s to nearest filesystem blocksisze, and block to insert could be also filesystem blocksizeIs there a systemcall/filesystem that would allow such?If not, is it good idea to mimic such behaviour using btrfs_clone (mentined here ) and how?
Is there filesystem that allows me to insert some block in the middle of file in O(1)?
filesystems;system programming